componentDidMount() {
window.scrollTo(0, 0)
}
componentDidMount() {
window.scrollTo(0, 0)
}
useEffect(() => {
window.scrollTo(0, 0)
}, [])
const scrollTop = () =>{ window.scrollTo({top: 0, behavior: 'smooth'});};
componentDidMount() {
window.scrollTo(0, 0)
}
useEffect(() => {
window.scrollTo(0, 0)
}, [])
const scrollTop = () =>{ window.scrollTo({top: 0, behavior: 'smooth'});};
componentDidMount() {
window.scrollTo(0, 0)
}