UNPKG

whodis-react-storage-browser

Version:

React hooks and components for secure, best practices authentication in seconds

11 lines 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setCurrentUrl = void 0; const setCurrentUrl = ({ method, to, }) => { const executable = method === 'replace' ? history.replaceState.bind(history) : history.pushState.bind(history); executable({}, window.document.title, to); }; exports.setCurrentUrl = setCurrentUrl; //# sourceMappingURL=setCurrentUrl.js.map