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("/");