diff --git a/website/gatsby-browser.js b/website/gatsby-browser.js index 25fedd4b4..3b570703d 100644 --- a/website/gatsby-browser.js +++ b/website/gatsby-browser.js @@ -42,7 +42,6 @@ export const onRouteUpdate = ({ location }) => { // Navigate to targeted element el.scrollIntoView() // Force recomputing :target pseudo class with pushState/popState - window.location.hash = '' window.location.hash = location.hash } }, 0)