Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Only render Redirect if it matches #412

Merged

Conversation

Xavier-Charles
Copy link
Contributor

No description provided.

@Xavier-Charles Xavier-Charles marked this pull request as ready for review April 25, 2024 15:39
@@ -77,19 +77,23 @@ const AppRoutes = () => {
location.reload();
}

if (window.location.pathname === EDesktopRoutePaths.Superfeed) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why not use the useViewRoute hook for this?

@v-almonacid v-almonacid merged commit fc1e863 into dev Apr 25, 2024
4 checks passed
@v-almonacid v-almonacid deleted the feat--ALPHA-3908-Switching-boards-is-getting-stuck-again branch April 25, 2024 16:09
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.

2 participants