Issues (1)

src/hooks/useQuery.js (1 issue)

Labels
Severity
1
import { useLocation } from 'react-router-dom';
2
3
export default () => new URLSearchParams(useLocation().search);
0 ignored issues
show
The variable URLSearchParams seems to be never declared. If this is a global, consider adding a /** global: URLSearchParams */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
4