Skip to content

Commit

Permalink
fix: wait for all tokens in custody to show up
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Oct 28, 2022
1 parent ae2f789 commit 73a1cab
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ export const useStreamTokensInCustody = (config: Config) => {
]);

useMemo(() => {
if (!supportsTokensInCustody) {
if (
!supportsTokensInCustody ||
(allTokensInCustodyLoading && !allTokensInCustody)
) {
return;
}

Expand Down

0 comments on commit 73a1cab

Please sign in to comment.