feat(auth): Prevent tool selection after logout and improve state management

This commit is contained in:
cogwheel0
2025-12-05 13:01:17 +05:30
parent 1ad43d372a
commit 5cbef38687
3 changed files with 13 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ class ToolsList extends _$ToolsList {
return;
}
Future.microtask(() async {
if (!ref.mounted) return;
await refresh();
});
}