mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
getting rid of legacy code
This commit is contained in:
@@ -29,7 +29,6 @@ const App = () => {
|
||||
};
|
||||
|
||||
const serverData = useWebRTC(stream, setIsRecording);
|
||||
const text = serverData?.text ?? "";
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-100">
|
||||
@@ -43,7 +42,7 @@ const App = () => {
|
||||
<Dashboard
|
||||
isRecording={isRecording}
|
||||
onRecord={(recording) => handleRecord(recording)}
|
||||
transcriptionText={text ?? "(No transcription text)"}
|
||||
transcriptionText={serverData.text ?? "(No transcription text)"}
|
||||
finalSummary={serverData.finalSummary}
|
||||
topics={serverData.topics ?? []}
|
||||
stream={stream}
|
||||
|
||||
Reference in New Issue
Block a user