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