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

fix(web): Preserve last active organization across full page reloads #6978

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

SokratisVidros
Copy link
Contributor

What changed? Why was the change needed?

It seems that calling the setActive method was causing a race condition with the Clerk state, always forcing the selection of the first organization on full page reload.

It seems that calling setActive method was causing a race condition with Clerk state forcing always the selection of the first organization on full page reload.
Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
🔨 Latest commit 24d5cd0
🔍 Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/6733f15949a00a0008cd734f
😎 Deploy Preview https://deploy-preview-6978--novu-stg-vite-dashboard-poc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LetItRock LetItRock merged commit 0ba509a into next Nov 13, 2024
36 checks passed
@LetItRock LetItRock deleted the fix_clerk_issue branch November 13, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants