Open gbonumore opened 2 years ago
I don't understand why this fixes the problem. The removed code looks like it should work. What was the issue with calling get(eth)
?
I don't understand why this fixes the problem. The removed code looks like it should work. What was the issue with calling
get(eth)
?
getPoolsUser gets called when eth is not defined so destructing it throws undefined on those values while using directly those from the store are already nullchecked. Also get(eth) is totally unnecessary since with $eth we can directly access a reactive store value.
Description
Removed get eth from store since it is already available inside as a reactive value in order to prevent signer / provider from being undefined