TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/./node_modules/material-ui-confirm/dist/material-ui-confirm.esm.js:139:87)
at (rsc)/./node_modules/material-ui-confirm/dist/material-ui-confirm.esm.js
Using nextjs 14:
Getting:
TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function at eval (webpack-internal:///(rsc)/./node_modules/material-ui-confirm/dist/material-ui-confirm.esm.js:139:87) at (rsc)/./node_modules/material-ui-confirm/dist/material-ui-confirm.esm.js