1import { useLocation } from 'react-router';
2import queryString from 'query-string';
3
4const Dashboard: React.FC = React.memo((props) => {
5 const location = useLocation();
6
7 console.log(queryString.parse(location.search));
8
9 // {__firebase_request_key: "blablabla", _k: "v9ifuf"}
10
11 ...
12
13 return <p>Example</p>;
14}
15