File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { Toolbar } from "../features/editor/Toolbar";
1717import useGraph from "../features/editor/views/GraphView/stores/useGraph" ;
1818import useConfig from "../store/useConfig" ;
1919import useFile from "../store/useFile" ;
20- import { useModal } from "../store/useModal" ;
2120
2221const ModalController = dynamic ( ( ) => import ( "../features/modals/ModalController" ) ) ;
2322const ExternalMode = dynamic ( ( ) => import ( "../features/editor/ExternalMode" ) ) ;
@@ -71,14 +70,6 @@ const EditorPage = () => {
7170 const checkEditorSession = useFile ( state => state . checkEditorSession ) ;
7271 const darkmodeEnabled = useConfig ( state => state . darkmodeEnabled ) ;
7372 const fullscreen = useGraph ( state => state . fullscreen ) ;
74- const setVisible = useModal ( state => state . setVisible ) ;
75-
76- useEffect ( ( ) => {
77- // const isUpgradeShown = Cookie.get("upgrade_shown");
78- // if (!isUpgradeShown) {
79- setTimeout ( ( ) => setVisible ( "UpgradeModal" , true ) , 1_000 ) ;
80- // }
81- } , [ setVisible ] ) ;
8273
8374 useEffect ( ( ) => {
8475 if ( isReady ) checkEditorSession ( query ?. json ) ;
You can’t perform that action at this time.
0 commit comments