aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/useQuery.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/modern/src/common/useQuery.js b/modern/src/common/useQuery.js
index 6c8ac657..92398bf8 100644
--- a/modern/src/common/useQuery.js
+++ b/modern/src/common/useQuery.js
@@ -1,5 +1,3 @@
-import { useLocation } from "react-router-dom";
+import { useLocation } from 'react-router-dom';
-export default () => {
- return new URLSearchParams(useLocation().search);
-}
+export default () => new URLSearchParams(useLocation().search);