aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-04 17:27:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-04 17:27:11 -0700
commit7f2ed6a7e12d3cc34f29685128245143967ebb8a (patch)
tree54db428a0799c6e9d396b00dd019836ff2e52af6 /modern/src/common
parentdf3254688a643cd96280beb62d4f158f1f4d0dd7 (diff)
downloadtrackermap-web-7f2ed6a7e12d3cc34f29685128245143967ebb8a.tar.gz
trackermap-web-7f2ed6a7e12d3cc34f29685128245143967ebb8a.tar.bz2
trackermap-web-7f2ed6a7e12d3cc34f29685128245143967ebb8a.zip
Fix lint issues
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);