Bump path-to-regexp and react-router-dom #3812
Annotations
3 errors
|
src/web/hooks/usePageFilter.js#L66
Error: useLocation() may be used only in the context of a <Router> component.
❯ Object.invariant [as UNSAFE_invariant] node_modules/@remix-run/router/history.ts:494:11
❯ Object.useLocation node_modules/react-router/lib/hooks.tsx:105:3
❯ Proxy.useSearchParams node_modules/react-router-dom/index.tsx:1481:18
❯ Module.usePageFilter [as default] src/web/hooks/usePageFilter.js:66:43
❯ src/web/hooks/__tests__/usePageFilter.jsx:85:39
❯ TestComponent node_modules/@testing-library/react/dist/pure.js:309:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
|
This job was cancelled
Loading