-
Notifications
You must be signed in to change notification settings - Fork 25
Description
The export and print buttons do not work in the latest React. The console output is below. Any chance of getting this fixed?
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot react_devtools_backend.js:4026:25
The above error occurred in the component:
NavLinkWithRef@http://localhost:3322/static/js/bundle.js:54650:9
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. react_devtools_backend.js:4026:25
Uncaught Error: useLocation() may be used only in the context of a component.
invariant utils.ts:757
useLocation hooks.tsx:97
useResolvedPath hooks.tsx:305
NavLinkWithRef index.tsx:444
React 16
dataRender utilities.js:101
dataRender utilities.js:93
dataRender utilities.js:91
onDataRender index.js:116
onExport index.js:121
onClick index.js:223
onClick ui.js:57
React 23
js index.js:20
factory react refresh:6