From 6aa7937b090541b0575449be652325c8b79a0be8 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 14:31:12 +0530 Subject: [PATCH] fix: show finish button if recording --- src/components/molecules/NavBar.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx index 84c3b0a7..dbbf2c1c 100644 --- a/src/components/molecules/NavBar.tsx +++ b/src/components/molecules/NavBar.tsx @@ -121,7 +121,9 @@ export const NavBar: React.FC = ({ newRecording, recordingName, isR Logout - ) : + = ({ newRecording, recordingName, isR }} onClick={goToMainMenu}> Discard - } - { - recordingLength > 0 - ? - : null + + } setModalOpen(false)}>