fix: login crashes

This commit is contained in:
cogwheel0
2025-08-29 12:49:18 +05:30
parent 334ad73ad1
commit abc40b3958
4 changed files with 30 additions and 30 deletions

View File

@@ -233,7 +233,7 @@ final currentUserProvider = FutureProvider<User?>((ref) async {
// Helper provider to force refresh auth state - now using unified system
final refreshAuthStateProvider = Provider<void>((ref) {
// This provider can be invalidated to force refresh the unified auth system
ref.read(refreshAuthProvider);
ref.read(refreshAuthProvider)();
return;
});