Migrate from version 2 to 3.

I've run the command npx pankodrefine-codemod refine2-to-refine3 but I'm receiving the following erro ¡Failed to compile. ./node_modules/@pankod/refine-react-router/dist/esm/index.js Attempted import error: 'useIsAuthenticated' is not exported from '@pankod/refine-core' (imported as 'O').` any suggestions ?
1 Reply
Omer
Omer2y ago
Hey @kerolos.salib , Could you upgrade to @pankod/refine-react-router-v6?
npm uninstall @pankod/refine-react-router
npm i @pankod/refine-react-router-v6
npm uninstall @pankod/refine-react-router
npm i @pankod/refine-react-router-v6