diff options
Diffstat (limited to 'modern/src/common/util/useQuery.js')
-rw-r--r-- | modern/src/common/util/useQuery.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modern/src/common/util/useQuery.js b/modern/src/common/util/useQuery.js deleted file mode 100644 index f246df7c..00000000 --- a/modern/src/common/util/useQuery.js +++ /dev/null @@ -1,7 +0,0 @@ -import { useMemo } from 'react'; -import { useLocation } from 'react-router-dom'; - -export default () => { - const { search } = useLocation(); - return useMemo(() => new URLSearchParams(search), [search]); -}; |