Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
pitabash-eGov authored Mar 7, 2024
1 parent 3262cc3 commit c5d46c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/works_shg_app/lib/blocs/auth/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class AuthBloc extends Bloc<AuthEvent, AuthState> {
if (kIsWeb) {
html.window.sessionStorage.remove(e.value);
} else {
//await storage.delete(key: e.value);

await Hive.box<KeyLocaleModel>('keyValueModel').clear();
await Hive.box<Localization>('localization').clear();
}
Expand Down Expand Up @@ -156,4 +156,4 @@ class AuthState with _$AuthState {
const factory AuthState.loaded(
UserDetailsModel? userDetailsModel, String? accessToken) = _Loaded;
const factory AuthState.error() = _Error;
}
}

0 comments on commit c5d46c2

Please sign in to comment.