Skip to content

Commit b76f086

Browse files
KevenWMarkhamclaude
andcommitted
fix: restore useRef import and remove onExport prop
- Restored useRef import to TranscriptView.tsx (still used) - Removed onExport prop from TranscriptView component - Moved design directory to specs folder 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0c65f23 commit b76f086

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
File renamed without changes.

src/App.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,7 @@ function App() {
339339

340340
{/* Right Column - Transcript */}
341341
<div className="lg:col-span-2">
342-
<TranscriptView
343-
transcript={demoTranscript || transcript}
344-
onExport={() => console.log('Transcript exported')}
345-
/>
342+
<TranscriptView transcript={demoTranscript || transcript} />
346343
</div>
347344
</div>
348345

src/components/TranscriptView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState, useMemo, useCallback, useEffect } from 'react'
1+
import { useState, useMemo, useCallback, useRef, useEffect } from 'react'
22
import { motion } from 'framer-motion'
33
import { FileText, Download, Sparkles } from 'lucide-react'
44
import { Button } from '@/components/ui/button'

0 commit comments

Comments
 (0)