You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team,
[context] -> gotrue package -> gotrue_client.dart
I found out that the_currentUser variable was being assigned as a copy of what _currentSession.user is already storing. I find it confusing for it to be a copied value when non needed. Unless I'm missing something, but I couldnt find other usages in the code.
I'm making a PR to solve this simple confusion.
Hope it helps.
Cheers
The text was updated successfully, but these errors were encountered:
Hi team,
[context] -> gotrue package -> gotrue_client.dart
I found out that the
_currentUser
variable was being assigned as a copy of what_currentSession.user
is already storing. I find it confusing for it to be a copied value when non needed. Unless I'm missing something, but I couldnt find other usages in the code.I'm making a PR to solve this simple confusion.
Hope it helps.
Cheers
The text was updated successfully, but these errors were encountered: