safe-react
safe-react copied to clipboard
Safe Mobile set as provider when not connected
Description
When not connected to a wallet, Safe Mobile
is the provider.name
in the store. Onboard has already fired a subscription of the wallet name. The pairing provider needs to be extracted from within onboard instead of activating it inside the module.
This was attempted but caused an issue with the network not updating in the QR code - https://github.com/safe-global/safe-react/issues/3669 - that resulted in the reversion of the initial decoupling attempt.
Steps to reproduce
- Open the Safe and ensure you aren't connected to a wallet.
- Obser
Safe Mobile
as thename
of the current provider in the store.
Expected result
The 'default' name is an empty string.
Obtained result
Safe Mobile
is the 'default' name.