mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39: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 serverData = useWebRTC(stream, setIsRecording);
|
||||||
const text = serverData?.text ?? "";
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-100">
|
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-100">
|
||||||
@@ -43,7 +42,7 @@ const App = () => {
|
|||||||
<Dashboard
|
<Dashboard
|
||||||
isRecording={isRecording}
|
isRecording={isRecording}
|
||||||
onRecord={(recording) => handleRecord(recording)}
|
onRecord={(recording) => handleRecord(recording)}
|
||||||
transcriptionText={text ?? "(No transcription text)"}
|
transcriptionText={serverData.text ?? "(No transcription text)"}
|
||||||
finalSummary={serverData.finalSummary}
|
finalSummary={serverData.finalSummary}
|
||||||
topics={serverData.topics ?? []}
|
topics={serverData.topics ?? []}
|
||||||
stream={stream}
|
stream={stream}
|
||||||
|
|||||||
Reference in New Issue
Block a user