open_in_new
content_copy
let {pathname} = useLocation(); useEffect(() => { window.scrollTo(0,0) }, [pathname]);