extended-salmon
extended-salmon17mo ago

Getting Error when using buildin hooks in my custom hook.

I tried to use the useResource hook inside my custom hook. but getting this error. I am using the fork repo and use the start command with (refine-core, core-use-select example and refine-react-router-dom) scopes
No description
No description
5 Replies
Omer
Omer17mo ago
Hey @sebabratakundu , Could you try re-install npm packages?
extended-salmon
extended-salmon17mo ago
on the root?
npm run bootstrap
npm run bootstrap
Omer
Omer17mo ago
Contributing | refine
We follow a code of conduct when participating in the community. Please read it before you make any contributions.
extended-salmon
extended-salmon17mo ago
already did, let me try it once again I got it. I was using the wrong path. it should be
import {useResource} from @hooks/resource
import {useResource} from @hooks/resource
thanks anyway
Omer
Omer17mo ago
🚀