vocdoni / ui-components

Vocdoni UI components libs
GNU General Public License v3.0
3 stars 2 forks source link

oAuthWallet hardcodes wallet id, making all buttons to highlight on click. #93

Closed elboletaire closed 12 months ago

elboletaire commented 12 months ago

When clicking any oauth integration on rainbowkit, all of them get highlighted:

imatge

This is because the id is being hardcoded to oAuth. Either use the name there, or allow to define a custom id (or even both... i.e. id || name || 'oAuth').

Also, please avoid using any whenever possible 😂

Edit: Maybe it would be a good idea to pass a spread operator to the object, allowing end-developers to pass any other setting, or override one set by us.