summaryrefslogtreecommitdiff
path: root/src/hooks/useQuery.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/useQuery.ts')
-rw-r--r--src/hooks/useQuery.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/useQuery.ts b/src/hooks/useQuery.ts
index b2cb628..f025a46 100644
--- a/src/hooks/useQuery.ts
+++ b/src/hooks/useQuery.ts
@@ -1,6 +1,6 @@
import { useLocation } from 'react-router-dom';
-const useQuery = () => {
+const useQuery = (): Record<string, string> => {
const location = useLocation();
const searchParams = new URLSearchParams(location.search);
return Object.fromEntries(searchParams);