Closed fl-y closed 2 years ago
Describe the bug Currently the getKey method is called 762 times before the UI is rendered on initial render of Emeris https://www.loom.com/share/ce44ff65eef649dfb5f370f8eba5badd
getKey
This appears to be due to the useAccount method not being a singleton. Unconfirmed but whether it is or not - refactor s.t. it's not called 762 times.
useAccount
Additional context Related thread https://allinbits.slack.com/archives/C02TBMVAJDN/p1651926233055839
Describe the bug Currently the
getKey
method is called 762 times before the UI is rendered on initial render of Emeris https://www.loom.com/share/ce44ff65eef649dfb5f370f8eba5baddThis appears to be due to the
useAccount
method not being a singleton. Unconfirmed but whether it is or not - refactor s.t. it's not called 762 times.Additional context Related thread https://allinbits.slack.com/archives/C02TBMVAJDN/p1651926233055839