score:0

useEffect(() => {
    window.scrollTo({ top: 0, left: 0 });

    // Do some stuff
  }, []);

Related Query

More Query from same tag