diff --git a/renderer/src/components/EditorPage/JuxtalinearEditor/pages/Home.tsx b/renderer/src/components/EditorPage/JuxtalinearEditor/pages/Home.tsx index 6410b700..7995f7db 100644 --- a/renderer/src/components/EditorPage/JuxtalinearEditor/pages/Home.tsx +++ b/renderer/src/components/EditorPage/JuxtalinearEditor/pages/Home.tsx @@ -184,7 +184,7 @@ const Home: React.FC = () => { useEffect(() => { if (!loadingSentencesInProgress && sentences[0] !== undefined && jsonFileContent - && jsonFileContent.bookCode === bookId.toUpperCase()) { + && jsonFileContent.bookCode.toUpperCase() === bookId.toUpperCase()) { sentences[0].chunks.filter(({ source }) => source[0]).forEach((chunck) => { chunck.source.filter(e => e); });