diff --git a/src/components/Player/InputBox.jsx b/src/components/Player/InputBox.jsx index efd0fb0..3e3dba8 100644 --- a/src/components/Player/InputBox.jsx +++ b/src/components/Player/InputBox.jsx @@ -39,6 +39,7 @@ export default function ({ currentWindow, inputType, sendMessage }) { const inputEl = useRef(null) useEffect(() => { + setInputText('') inputEl.current && inputEl.current.focus() }, [inputType])