Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds fetch-retry to isBlocked #2055

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

feat: adds fetch-retry to isBlocked #2055

wants to merge 8 commits into from

Conversation

douglance
Copy link
Contributor

Summary

Steps to test

Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Nov 20, 2024 3:58pm

retryDelay: (attempt: number) => attempt * 500 // should be short because it blocks the user
})

type BlockedResponse = { blocked: boolean; hasConnectionError: boolean }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we determine if the user is blocked or if they have a connection error, and display the appropriate dialog if so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants