diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index bd52989..ddceaa8 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -5,7 +5,6 @@ import Timer from './components/Timer'; import Notes from './components/Notes'; import WhiteNoise from './components/WhiteNoise'; import KiraAvatar from './components/KiraAvatar'; -import ChatBubble from './components/ChatBubble'; import PetZone from './components/PetZone'; import Wardrobe from './components/Wardrobe'; import Particles from './components/Particles'; @@ -27,7 +26,6 @@ export default function App() { loadingPrefs, identify, setPreference, - sendText, startRecording, stopRecording, tasks, @@ -37,7 +35,6 @@ export default function App() { const [currentSceneId, setCurrentSceneId] = useState('cozy-room'); const [currentOutfit, setCurrentOutfit] = useState('cozy-hoodie'); const [currentAcc, setCurrentAcc] = useState(null); - const [textInput, setTextInput] = useState(''); const [live2dReady, setLive2dReady] = useState(false); const kiraModelRef = useRef(null); @@ -69,11 +66,6 @@ export default function App() { else startRecording(); }; - const handleTextSend = () => { - if (!textInput.trim()) return; - sendText(textInput.trim()); - setTextInput(''); - }; const handleWelcome = (name: string) => { identify(name); @@ -153,19 +145,6 @@ export default function App() { -
- -
-
- setTextInput(e.target.value)} - onKeyDown={(e) => e.key === 'Enter' && handleTextSend()} - placeholder={`hey ${userName}...`} - className="flex-1 bg-white/40 rounded-xl px-3 py-2 text-sm text-kira-plum placeholder-kira-plum/30 border-0 focus:outline-none focus:ring-2 focus:ring-kira-pink/30" - /> - -
{/* CENTER: Avatar UI overlay (Live2D renders on the background stage) */}