diff --git a/client/src/components/LiveVoiceCapture.tsx b/client/src/components/LiveVoiceCapture.tsx index 1c3fadb..02040a2 100644 --- a/client/src/components/LiveVoiceCapture.tsx +++ b/client/src/components/LiveVoiceCapture.tsx @@ -43,11 +43,8 @@ export default function LiveVoiceCapture({ const [previewMime, setPreviewMime] = useState('audio/webm') const [previewDurationSec, setPreviewDurationSec] = useState(0) const [saving, setSaving] = useState(false) - const [logs, setLogs] = useState([]) - const log = useCallback((msg: string) => { console.log(`[VoiceDebug] ${msg}`) - setLogs((prev) => [...prev, `${new Date().toLocaleTimeString()}: ${msg}`]) }, []) const previewAudioRef = useRef(null) @@ -375,40 +372,7 @@ export default function LiveVoiceCapture({ )} - {/* Debug Logs Panel */} -
-
- Debug Console Logs: - -
- {logs.length === 0 ? ( - No logs yet. Start recording to debug. - ) : ( - logs.map((l, i) => ( -
{l}
- )) - )} -
+ )