From 60c4401a938ed2234ea4ad2aad0e66975117d740 Mon Sep 17 00:00:00 2001 From: sijumoncy <72241997+sijumoncy@users.noreply.github.com> Date: Fri, 10 May 2024 11:38:39 +0530 Subject: [PATCH] added fix for audio mode break on go back to project listing --- renderer/src/components/AudioRecorder/components/EditorPage.js | 1 + .../src/components/AudioRecorder/components/ReferenceSelector.js | 1 + 2 files changed, 2 insertions(+) diff --git a/renderer/src/components/AudioRecorder/components/EditorPage.js b/renderer/src/components/AudioRecorder/components/EditorPage.js index 00205f799..78990ef1b 100644 --- a/renderer/src/components/AudioRecorder/components/EditorPage.js +++ b/renderer/src/components/AudioRecorder/components/EditorPage.js @@ -82,6 +82,7 @@ const EditorPage = ({ url={location && (mainChunk[mainChunk.default] ? path.join(location, mainChunk[mainChunk.default]) : '')} show={false} interaction={false} + setAudioPlayBack={() => {}} /> {/*
diff --git a/renderer/src/components/AudioRecorder/components/ReferenceSelector.js b/renderer/src/components/AudioRecorder/components/ReferenceSelector.js index 9ace0ae48..be9e05d6b 100644 --- a/renderer/src/components/AudioRecorder/components/ReferenceSelector.js +++ b/renderer/src/components/AudioRecorder/components/ReferenceSelector.js @@ -32,6 +32,7 @@ export default function ReferenceSelector({ data, versepath, verse }) { // url={story.audio} for development url={story.audio ? path.join(versepath, story.audio) : ''} show + setAudioPlayBack={() => {}} />