diff --git a/src/App.js b/src/App.js index 859bd94..805e9b3 100644 --- a/src/App.js +++ b/src/App.js @@ -21,6 +21,10 @@ import React, { useEffect, useRef } from "react"; function App() { const location = useLocation(); + useEffect(() => { + window.scrollTo(0, 0); + }, [location]); + return ( <> {/* */}