The 'react-router-dom' method `useLocation` is not a known module.
hoangfuongduy opened this issue · 0 comments
hoangfuongduy commented
I'm trying to use the useLocation hook of react-router-dom but what I received was
The 'react-router-dom' method
useLocation is not a known module. Please report bugs to https://github.com/lodash/babel-plugin-lodash/issues.
Please help if anyone knows why this happen.
Thanks a lot