Skip to content

Commit

Permalink
Fix scroll to anchor tag
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas authored and agnlez committed Oct 2, 2024
1 parent bd8f301 commit 0ba2bdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/containers/explore/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export default function Explore() {
};

window.addEventListener("popstate", handlePopState);

handlePopState();
return () => {
window.removeEventListener("popstate", handlePopState);
};
Expand Down

0 comments on commit 0ba2bdc

Please sign in to comment.