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