Skip to content

Commit b8259e4

Browse files
committed
chore: tidy up
1 parent fd6f7f1 commit b8259e4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
// from react-router-dom examples
1+
// taken from react-router-dom examples
22
import { useMemo } from 'react';
33
import { useLocation } from 'react-router-dom';
44

55
export const useQuery = () => {
66
const { search } = useLocation();
77

8-
// return () => new URLSearchParams(search);
98
return useMemo(() => new URLSearchParams(search), [search]);
109
};

apps/router/src/pages/Home/Home.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ const HomePage: React.FC = () => {
3232
const navigate = useNavigate();
3333
const query = useQuery();
3434

35-
// console.log('HIT', query);
36-
// console.log('HIT2', query.get(''));
37-
3835
const { dispatch, service } = useAppContext();
3936

4037
const [serviceUrl, setServiceUrl] = useState<string>('');

0 commit comments

Comments
 (0)