Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: temporarily hide EditorChoiceModal import and usage

AykutSaracd84b39663b16
diff --git a/apps/www/src/pages/editor.tsx b/apps/www/src/pages/editor.tsx
index 0755c38c..ac6c2ab4 100644
--- a/apps/www/src/pages/editor.tsx
+++ b/apps/www/src/pages/editor.tsx
@@ -20,13 +20,14 @@ import useConfig from "../store/useConfig";
import useFile from "../store/useFile";
const ModalController = dynamic(() => import("../features/modals/ModalController"));
-const EditorChoiceModal = dynamic(
- () =>
- import("../features/modals/EditorChoiceModal").then(mod => ({
- default: mod.EditorChoiceModal,
- })),
- { ssr: false }
-);
+// Temporarily hidden. Re-enable by restoring this import and the <EditorChoiceModal /> render below.
+// const EditorChoiceModal = dynamic(
+// () =>
+// import("../features/modals/EditorChoiceModal").then(mod => ({
+// default: mod.EditorChoiceModal,
+// })),
+// { ssr: false }
+// );
const ExternalMode = dynamic(() => import("../features/editor/ExternalMode"));
export const StyledPageWrapper = styled.div`
@@ -134,7 +135,7 @@ const EditorPage = () => {
<ThemeProvider theme={darkmodeEnabled ? darkTheme : lightTheme}>
<ExternalMode />
<ModalController />
- <EditorChoiceModal />
+ {/* <EditorChoiceModal /> */}
<StyledEditorWrapper>
<StyledPageWrapper>
<Toolbar />