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 useRouter() sentry error #1284

Merged
merged 1 commit into from
Sep 20, 2022
Merged

Conversation

mvandenburgh
Copy link
Member

useRouter() should be called at the top level of script setup, not inside watchEffect.

`useRouter()` should be called at the top level of `script setup`, not inside `watchEffect`
@mvandenburgh mvandenburgh merged commit 2f00d9a into master Sep 20, 2022
@mvandenburgh mvandenburgh deleted the fix-sentry-error-userouter branch September 20, 2022 00:46
@dandibot
Copy link
Member

🚀 PR was released in v0.2.50 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants