React to defaultAccount changes

This commit is contained in:
shilangyu 2021-03-18 15:58:48 +01:00
parent a3ce421cc4
commit 748fb54443
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class UserProfile extends HookWidget {
sort: SortType.active,
auth: accountsStore.defaultTokenFor(instanceHost)?.raw,
));
});
}, [userId, instanceHost]);
if (!userDetailsSnap.hasData) {
return const Center(child: CircularProgressIndicator());