Skip to content

Commit

Permalink
Check trust status and getNetwork earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
louilinn committed Oct 6, 2023
1 parent 457ca41 commit 8992d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ const Tokens = () => {

useUpdateLoop(
async () => {
await dispatch(checkTrustState());
if (otherTokens.length === 0) {
await dispatch(checkOtherTokensLoading(false));
} else {
await dispatch(checkOtherTokensLoading(true));
}
await dispatch(checkOtherTokens());
await dispatch(checkTrustState());
},
{
frequency: 1000 * 10,
Expand Down

0 comments on commit 8992d32

Please sign in to comment.