Browse Source

Removed log

feature/advanced-setting
Justin Ferrari 9 months ago
parent
commit
6131c89f7c
  1. 5
      src/components/modals/EditStoreModal.tsx

5
src/components/modals/EditStoreModal.tsx

@ -212,7 +212,6 @@ const MyModal: React.FC<MyModalProps> = ({ open, onClose, onPublish }) => {
data64: dataContainerToBase64, data64: dataContainerToBase64,
identifier: `${currentStore.id}-${DATA_CONTAINER_BASE}`, identifier: `${currentStore.id}-${DATA_CONTAINER_BASE}`,
}); });
console.log({ dataContainerCreated });
if (dataContainerCreated && !dataContainerCreated.error) { if (dataContainerCreated && !dataContainerCreated.error) {
dispatch( dispatch(
setDataContainer({ setDataContainer({
@ -229,9 +228,9 @@ const MyModal: React.FC<MyModalProps> = ({ open, onClose, onPublish }) => {
}) })
); );
onClose(); onClose();
setShowCreateNewDataContainerModal(false);
setShowAdvancedSettings(false);
} }
setShowCreateNewDataContainerModal(false);
setShowAdvancedSettings(false);
} catch (error) { } catch (error) {
console.error(error); console.error(error);
navigate("/"); navigate("/");

Loading…
Cancel
Save