safe-react icon indicating copy to clipboard operation
safe-react copied to clipboard

Safe Mobile set as provider when not connected

Open iamacook opened this issue 2 years ago • 0 comments

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

  1. Open the Safe and ensure you aren't connected to a wallet.
  2. Obser Safe Mobile as the name of the current provider in the store.

Expected result

The 'default' name is an empty string.

Obtained result

Safe Mobile is the 'default' name.

iamacook avatar May 09 '22 14:05 iamacook