Skip to content

Conversation

@fengelniederhammer
Copy link
Contributor

resolves #1008

Summary

Screenshot

PR Checklist

- [ ] All necessary documentation has been adapted.
- [ ] The implemented feature is covered by an appropriate test.

@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
dashboards Ready Ready Preview, Comment Jan 28, 2026 0:08am

Request Review

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a state synchronization issue where the page state was not updated when the browser URL changed via navigation (back/forward buttons). The fix adds a popstate event listener to detect URL changes and update the state accordingly.

Changes:

  • Added a useEffect hook to listen for browser navigation events
  • Implemented automatic state synchronization when URL changes via back/forward navigation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the UI when navigating through the browser history

2 participants