@@ -27,47 +28,38 @@ export function Dashboard({
{topics.map((item, index) => (
setOpenIndex(openIndex === index ? null : index)}
>
{item.timestamp}
-
- {item.title}{" "}
-
- {">"}
-
+
+ {item.title}
+
{openIndex === index && (
-
{item.transcript}
+
{item.transcript}
)}
))}
-
-
-
- {transcriptionText}
-
-
{finalSummary && (
-
+
Final Summary
Duration: {finalSummary.duration}
{finalSummary.summary}
)}
+
+
>
);
}
diff --git a/app/components/record.js b/app/components/record.js
index 56f83e82..be4a05e6 100644
--- a/app/components/record.js
+++ b/app/components/record.js
@@ -95,6 +95,8 @@ export default function Recorder(props) {
if (!record) return console.log("no record");
if (record?.isRecording()) {
+
+ props.serverData.peer.send(JSON.stringify({ cmd: "STOP" }));
record.stopRecording();
setIsRecording(false);
document.getElementById("play-btn").disabled = false;
diff --git a/app/components/webrtc.js b/app/components/webrtc.js
index 4a310905..41759e69 100644
--- a/app/components/webrtc.js
+++ b/app/components/webrtc.js
@@ -64,6 +64,7 @@ const useWebRTC = (stream, setIsRecording) => {
duration: serverData.duration,
summary: serverData.summary,
},
+ text: ''
}));
setIsRecording(false);
break;
diff --git a/app/layout.js b/app/layout.js
index 858afbeb..25b34bb7 100644
--- a/app/layout.js
+++ b/app/layout.js
@@ -17,12 +17,7 @@ export default function RootLayout({ children }) {
Test
-
{children}
-
-