Fix Pronunciation page Speak buttons; tidy App.jsx
Build and Push Docker Image / build-and-push (push) Successful in 7m53s
Build and Push Docker Image / build-and-push (push) Successful in 7m53s
PronunciationPage still read speakOriginalWord from context after it moved to utils/wordStudy, so Speak would have thrown. Import it directly. App.jsx: consolidate imports, update comments, list all pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0f1a9c3d5b
commit
d08c701698
2 files changed
+12
-32
No files matched your search
@@ -1,9 +1,10 @@
|
||||
import { useState } from 'react';
|
||||
import { useApp } from '../context/AppContext.js';
|
||||
import { buildPronunciationGuide } from '../utils/bibleUtils.jsx';
|
||||
import { speakOriginalWord } from '../utils/wordStudy.js';
|
||||
|
||||
export default function PronunciationPage() {
|
||||
const { project, speakOriginalWord, setCurrentPage } = useApp();
|
||||
const { project, setCurrentPage } = useApp();
|
||||
const [search, setSearch] = useState('');
|
||||
const [copied, setCopied] = useState(false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user