"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useHashQuery = useHashQuery;
exports.useQuery = useQuery;
const react_router_dom_1 = require("react-router-dom");
function useHashQuery() {
    const { search } = (0, react_router_dom_1.useLocation)();
    return new URLSearchParams(search);
}
function useQuery() {
    return new URLSearchParams(window.location.search);
}
//# sourceMappingURL=Query.js.map