From f69ab938656c70cf178a7908e90754a6734905ca Mon Sep 17 00:00:00 2001 From: Siju Moncy <72241997+sijumoncy@users.noreply.github.com> Date: Mon, 13 May 2024 09:26:51 +0530 Subject: [PATCH] added fix for audio mode break on go back to project listing (#335) --- 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={() => {}} />