diff --git a/src/App.tsx b/src/App.tsx index 031f3b6..1c8859e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,11 +3,11 @@ import { useEffect, useState } from 'react'; import './App.css' import { Editor, initialEditorState, type EditorState } from './Editor' + export function App() { const [state, setState] = useState(initialEditorState); useEffect(() => { - window['APP_STATE'] = state; // console.log("EDITOR STATE:", state); }, [state]); @@ -18,12 +18,7 @@ export function App() {
- {console.log("toplevel resolved")}} - onCancel={() => {console.log("toplevel canceled")}} - /> +