Closed esteblock closed 1 year ago
Functions and variables defined in wallet/provideWalletChains,tsx are confusing. At the end it does only add a iconBackground parameter to each chain.
wallet/provideWalletChains,tsx
iconBackground
We could avoid this either:
setIconBacground(chain){ if (chain == chain1) return background1 else if (chain == chain2) return backgorund2 . . .
Solved in https://github.com/stellar/soroban-example-dapp/pull/111
What problem does your feature solve?
Functions and variables defined in
wallet/provideWalletChains,tsx
are confusing. At the end it does only add aiconBackground
parameter to each chain.What would you like to see?
We could avoid this either: