From 6131c89f7c20179bc7d804da3902e616e28c71ed Mon Sep 17 00:00:00 2001 From: Justin Ferrari <‘justinwesleyferrari@gmail.com’> Date: Wed, 3 Jan 2024 16:24:42 -0500 Subject: [PATCH] Removed log --- src/components/modals/EditStoreModal.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/modals/EditStoreModal.tsx b/src/components/modals/EditStoreModal.tsx index f09e852..675d2c6 100644 --- a/src/components/modals/EditStoreModal.tsx +++ b/src/components/modals/EditStoreModal.tsx @@ -212,7 +212,6 @@ const MyModal: React.FC = ({ open, onClose, onPublish }) => { data64: dataContainerToBase64, identifier: `${currentStore.id}-${DATA_CONTAINER_BASE}`, }); - console.log({ dataContainerCreated }); if (dataContainerCreated && !dataContainerCreated.error) { dispatch( setDataContainer({ @@ -229,9 +228,9 @@ const MyModal: React.FC = ({ open, onClose, onPublish }) => { }) ); onClose(); + setShowCreateNewDataContainerModal(false); + setShowAdvancedSettings(false); } - setShowCreateNewDataContainerModal(false); - setShowAdvancedSettings(false); } catch (error) { console.error(error); navigate("/");