coinbase / coinbase/onchainkit

Bug: ConnectWallet button (with Modal) is stuck in loading state

Open
#2,292 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### Describe the bug and the steps to reproduce it

1. Go to https://songbirdz.cc
2. Click on the "Connect Wallet" button in the navbar at the top of the site

Some of my users have been reporting issues with connecting their wallet to the Songbirdz site, where the ConnectWallet button gets stuck in a loading state. They've tried disconnecting, refreshing, clearing cache, etc. but nothing seems to have fixed it for them.

Even when they return back to the page it starts off in the loading state.

This has been happening for someone in the Coinbase Mobile Wallet Browser, as well as for some users in Safari. See screenshot below.

![Image](https://github.com/user-attachments/assets/4b0a3feb-0f20-4f31-a418-a1bc6ab75664)

### What's the expected behavior?

Here are links to relevant parts of the source-code:
- https://github.com/dry-tortuga/songbirdz-collection-frontend/blob/main/src/components/ConnectWalletButton.js#L106
- https://github.com/dry-tortuga/songbirdz-collection-frontend/blob/main/src/config.js#L26
- https://github.com/dry-tortuga/songbirdz-collection-frontend/blob/main/src/index.js#L40
- https://github.com/dry-tortuga/songbirdz-collection-frontend/blob/main/src/contexts/wallet.js#L39

### What version of the libraries are you using?

- OnchainKit: 0.38.7

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.