Skip to content

Commit

Permalink
feat(login): awaits for unawaited promise PE-4477
Browse files Browse the repository at this point in the history
  • Loading branch information
matibat committed Sep 26, 2023
1 parent 76fe12a commit 4319853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authentication/login/blocs/login_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class LoginBloc extends Bloc<LoginEvent, LoginState> {
// ignore: invalid_use_of_visible_for_testing_member
emit(const LoginFailure(WalletMismatchException()));

_arDriveAuth.logout();
await _arDriveAuth.logout();

// ignore: invalid_use_of_visible_for_testing_member
emit(const LoginInitial(true));
Expand Down

0 comments on commit 4319853

Please sign in to comment.