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: use loading state on multi-hop trade confirm button #5810

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

woodenfurniture
Copy link
Member

@woodenfurniture woodenfurniture commented Dec 7, 2023

Description

Fixes ability to proceed with a trade while approval requirements are still being fetched by applying a loading state to the button until everything is initialized.

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

NA

Risk

Not production facing - low risk.

Testing

Not required.

Engineering

Operations

Screenshots (if applicable)

Loading state while approvals are being checked
image

Once approvals are loaded, loading state is cleared
image

@woodenfurniture woodenfurniture requested a review from a team as a code owner December 7, 2023 23:39
@woodenfurniture
Copy link
Member Author

woodenfurniture commented Dec 7, 2023

@woodenfurniture woodenfurniture merged commit a48ab62 into develop Dec 10, 2023
1 check passed
@woodenfurniture woodenfurniture deleted the multi-hop-loading-state branch December 10, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants