"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react"),t=require("react-router"),u=()=>{const{pathname:o}=t.useLocation();return e.useEffect(()=>{window.scrollTo(0,0)},[]),e.useEffect(()=>{window.setTimeout(()=>window.scrollTo(0,0),200)},[o]),null};exports.default=u;
