diff --git a/app/components/dashboard.js b/app/components/dashboard.js
index 952c7f47..154dd076 100644
--- a/app/components/dashboard.js
+++ b/app/components/dashboard.js
@@ -148,7 +148,7 @@ export function Dashboard(props) {
{generateDecibelGraph(generateDecibelData())}
-
{liveTranscript}
+ {props.transcriptionText}
diff --git a/app/globals.css b/app/globals.css
index 168f6514..2d8b5900 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -27,3 +27,9 @@ body {
font-family: "Roboto", sans-serif;
}
+
+.temp-transcription
+{
+ background: beige;
+ border-radius: 5px;
+}
diff --git a/app/page.js b/app/page.js
index 563a9942..a0d9cd65 100644
--- a/app/page.js
+++ b/app/page.js
@@ -33,7 +33,7 @@ const App = () => {
const [stream, setStream] = useState(null);
const serverData = useWebRTC(stream);
- console.log(serverData);
+ const text = serverData?.text ?? "";
return (
@@ -47,6 +47,7 @@ const App = () => {
handleRecord(recording)}
+ transcriptionText={`[${serverData?.timestamp?.substring(2) ?? "??"}] ${text}`}
/>
)}