-
Notifications
You must be signed in to change notification settings - Fork 10
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
Updating user account is throwing a Vuex Error #12
Comments
Hi, I just got the same warning/error from the I commented out everything that had to do with EDIT: yes, seems like netlify/gotrue-js#64 is dealing with it as well. Here's the stack trace:
|
interesting, thanks for highlighting netlify/gotrue-js#64 , i'll be sure to keep an eye on that |
Repro steps
Cause
Not 100% sure, but running
GoTrue.update
in the auth vuex module is probably udpating theGoTrueAuth
instance directly and not via Vuex mutation.Solution
Might have to make another instance of GoTrue, capture the results of GoTrue.update, then push that result back into Vuex state via a mutation
The text was updated successfully, but these errors were encountered: