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)}>