From 296e8b07f63230840b217aef351ee1e2a0bee4d1 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 24 Oct 2024 15:35:31 +0530 Subject: [PATCH] chore: lint --- .../molecules/BrowserRecordingSave.tsx | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/components/molecules/BrowserRecordingSave.tsx b/src/components/molecules/BrowserRecordingSave.tsx index 80779cad..8c95ccfa 100644 --- a/src/components/molecules/BrowserRecordingSave.tsx +++ b/src/components/molecules/BrowserRecordingSave.tsx @@ -10,56 +10,56 @@ import { GenericModal } from "../atoms/GenericModal"; const BrowserRecordingSave = () => { const [openModal, setOpenModal] = useState(false); - const { recordingName, browserId, setBrowserId, notify } = useGlobalInfoStore(); - const navigate = useNavigate(); + const { recordingName, browserId, setBrowserId, notify } = useGlobalInfoStore(); + const navigate = useNavigate(); - const goToMainMenu = async () => { - if (browserId) { - await stopRecording(browserId); - notify('warning', 'Current Recording was terminated'); - setBrowserId(null); - } - navigate('/'); - }; + const goToMainMenu = async () => { + if (browserId) { + await stopRecording(browserId); + notify('warning', 'Current Recording was terminated'); + setBrowserId(null); + } + navigate('/'); + }; - return ( - - -
- - setOpenModal(false)} modalStyle={modalStyle}> - -

Are you sure you want to discard the recording?

- - - - -
-
- -
-
-
- ); + return ( + + +
+ + setOpenModal(false)} modalStyle={modalStyle}> + +

Are you sure you want to discard the recording?

+ + + + +
+
+ +
+
+
+ ); } export default BrowserRecordingSave