Spaces:
Sleeping
Sleeping
Joshua Lochner commited on
Commit ·
5df3fb6
1
Parent(s): 3979408
Only display transcript if chunks are present
Browse files
src/components/Transcript.tsx
CHANGED
|
@@ -60,7 +60,7 @@ export default function Transcript({ transcribedData }: Props) {
|
|
| 60 |
ref={divRef}
|
| 61 |
className='w-full flex flex-col my-2 p-4 max-h-[20rem] overflow-y-auto'
|
| 62 |
>
|
| 63 |
-
{transcribedData &&
|
| 64 |
transcribedData.chunks.map((chunk, i) => (
|
| 65 |
<div
|
| 66 |
key={`${i}-${chunk.text}`}
|
|
|
|
| 60 |
ref={divRef}
|
| 61 |
className='w-full flex flex-col my-2 p-4 max-h-[20rem] overflow-y-auto'
|
| 62 |
>
|
| 63 |
+
{transcribedData?.chunks &&
|
| 64 |
transcribedData.chunks.map((chunk, i) => (
|
| 65 |
<div
|
| 66 |
key={`${i}-${chunk.text}`}
|