Open davidyuk opened 3 years ago
we can get the names from the names list in the store, the stored name for an account is also the preferredChainName, as the backend sorts them that way when they are globally fetched. This reduces the number of requests.
_Originally posted by @thepiwo in https://github.com/aeternity/superhero-ui/pull/1133#discussion_r665165726_
we have switched to make a separate request in b685f6161e2f0e6ee8f3e47ec540d10e374af137, but I can't recall why cc: @AtanasKrondev
I'm planning to revert it in future PRs
we can get the names from the names list in the store, the stored name for an account is also the preferredChainName, as the backend sorts them that way when they are globally fetched. This reduces the number of requests.
_Originally posted by @thepiwo in https://github.com/aeternity/superhero-ui/pull/1133#discussion_r665165726_