lodash/babel-plugin-lodash

The 'react-router-dom' method `useLocation` is not a known module.

hoangfuongduy opened this issue · 0 comments

I'm trying to use the useLocation hook of react-router-dom but what I received was
The 'react-router-dom' methoduseLocation 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