Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Oct 2, 2024
1 parent a23b35b commit 260928c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/views/WalletSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ const MobileWrapper = ({
const { rpcEnabled } = useRpc()
const shouldShowLoading = (wcUriLoading && rpcEnabled) || isLoading

// If the WC URI is still loading after 5 seconds, there is likely an issue
// with WalletConnect. The loading spinner will be disabled in order to prevent
// blocking the entire page. If the user proceeds to a mobile wallet and the WC URI
// happens to load, deep linking may not work as expected, but the user can still
// manually retry the connection.
const [isTimedOut, setIsTimedOut] = useState(false)
useEffect(() => {
if (!wcUriLoading) {
Expand Down

0 comments on commit 260928c

Please sign in to comment.