New release #275
@ -69,7 +69,7 @@ export const Footer = () =>
|
|||||||
component={Link}
|
component={Link}
|
||||||
to={'/'}
|
to={'/'}
|
||||||
onClick={(event) => {
|
onClick={(event) => {
|
||||||
if (window.location.pathname === '/') {
|
if (['', '#/'].includes(window.location.hash)) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
window.scrollTo(0, 0)
|
window.scrollTo(0, 0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user