HomePhabricator
Diffusion Comm cd3382ca3d0f

[landing] Factor out logic for monitoring WalletConnect modal

Description

[landing] Factor out logic for monitoring WalletConnect modal

Summary:
As part of the WalletConnect 2 update, RainbowKit is now using WalletConnect's Web3Modal.

This modal changes sizes more frequently, and as a result later diffs will complicate the code for monitoring the WalletConnect modal. Ahead of that, I'd like to factor out that logic into a separate hook.

Depends on D8250

Test Plan:
Tested with the rest of the stack. I tested all three SIWE endpoints:

  1. Web
  2. Native (old flow)
  3. Native (new flow)

For each, I tested both Rainbow and WalletConnect (both of which need WalletConnect), and navigated around the WalletConnect modal to various places.

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8251

Details

Provenance
ashoatAuthored on Jun 19 2023, 7:50 AM
Reviewer
atul
Differential Revision
D8251: [landing] Factor out logic for monitoring WalletConnect modal
Parents
rCOMMc4a0c3ff993b: [lib][web][landing] Update to RainbowKit 0.12
Branches
Unknown
Tags
Unknown