From e670461799b97c9167db11b4b2646b6fefb4cd40 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 10 Oct 2024 21:45:09 +0530 Subject: [PATCH] feat: !new robot button --- src/components/molecules/NavBar.tsx | 48 ++++++++++++++++------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx index a401f5ea..82c1b64d 100644 --- a/src/components/molecules/NavBar.tsx +++ b/src/components/molecules/NavBar.tsx @@ -68,28 +68,32 @@ export const NavBar: React.FC = ({ newRecording, recordingName, isR display: 'flex', justifyContent: 'flex-end', }}> - - {isRecording ? 'New Robot' : 'Create Robot'} - + { + !isRecording ? ( + + Create Robot + + ) : "" + } { recordingLength > 0 ?