Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: editor.getInstanceState is not a function #81

Open
jhh78 opened this issue Jan 28, 2024 · 0 comments
Open

TypeError: editor.getInstanceState is not a function #81

jhh78 opened this issue Jan 28, 2024 · 0 comments

Comments

@jhh78
Copy link

jhh78 commented Jan 28, 2024

TypeError: editor.getInstanceState is not a function
at Arguments.eval (webpack-internal:///(app-pages-browser)/./app/components/APIKeyInput.tsx:21:110)
at _Computed.eval [as derive] (webpack-internal:///(app-pages-browser)/./node_modules/@tldraw/state/dist-esm/lib/react/useValue.mjs:21:23)
at _Computed.__unsafe__getWithoutCapture (webpack-internal:///(app-pages-browser)/./node_modules/@tldraw/state/dist-esm/lib/core/Computed.mjs:72:27)
at get value [as value] (webpack-internal:///(app-pages-browser)/./node_modules/@tldraw/state/dist-esm/lib/core/Computed.mjs:93:24)
at getSnapshot (webpack-internal:///(app-pages-browser)/./node_modules/@tldraw/state/dist-esm/lib/react/useValue.mjs:40:33)
at mountSyncExternalStore (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:11627:20)
at Object.useSyncExternalStore (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:13099:14)
at useSyncExternalStore (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react.development.js:1797:21)
at useValue (webpack-internal:///(app-pages-browser)/./node_modules/@tldraw/state/dist-esm/lib/react/useValue.mjs:43:71)
at APIKeyInput (webpack-internal:///(app-pages-browser)/./app/components/APIKeyInput.tsx:21:81)
at renderWithHooks (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:10930:18)
at mountIndeterminateComponent (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:16670:13)
at beginWork$1 (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:18254:16)
at beginWork (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:26647:14)
at performUnitOfWork (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:25493:12)
at workLoopSync (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:25209:5)
at renderRootSync (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:25164:7)
at recoverFromConcurrentError (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:24381:20)
at performSyncWorkOnRoot (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:24645:20)
at flushSyncWorkAcrossRoots_impl (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:10195:13)
at flushSyncWorkOnAllRoots (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:10155:3)
at commitRootImpl (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:26100:3)
at commitRoot (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:25813:5)
at commitRootWhenReady (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:24533:3)
at finishConcurrentRender (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:24498:5)
at performConcurrentWorkOnRoot (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/react-dom/cjs/react-dom.development.js:24343:9)
at workLoop (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js:261:34)
at flushWork (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js:230:14)
at MessagePort.performWorkUntilDeadline (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/compiled/scheduler/cjs/scheduler.development.js:534:21)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant