aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/useQuery.js
blob: 92398bf8667cd0a10e35d5842ed3712a2d3aacff (plain)
1
2
3
import { useLocation } from 'react-router-dom';

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