Error: TypeError: (0, import_react210.useSyncExternalStore) is not a function. (In '(0, import_react210.useSyncExternalStore)(toastStore.subscribe, toastStore.getState, toastStore.getState)', '(0, import_react210.useSyncExternalStore)' is undefined)
The above error occurred in the component:
ToastProvider@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:33497:59
EnvironmentProvider@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:19591:59
ColorModeProvider@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:3711:12
ThemeProvider2@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:6365:46
ThemeProvider3@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:7148:57
ChakraProvider@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:33798:12
ChakraProvider2@http://localhost:3000/node_modules/.vite/deps/@chakra-ui_react.js?t=1659703503374&v=161ff8ad:33815:11
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.
Chakra ui 2.2.3