aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/useQuery.js
blob: 6c8ac6572f195341ee996ac2e164a6e59b50fba9 (plain)
1
2
3
4
5
import { useLocation } from "react-router-dom";

export default () => {
  return new URLSearchParams(useLocation().search);
}