From 7f2ed6a7e12d3cc34f29685128245143967ebb8a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 4 Sep 2021 17:27:11 -0700 Subject: Fix lint issues --- modern/src/common/useQuery.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modern/src/common') 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); -- cgit v1.2.3