Skip to content

Conversation

@zerts
Copy link
Collaborator

@zerts zerts commented Sep 16, 2025

There was a broken state when approval tx is confirmed and we are fetching new quotes, the submit button had 'Approve' title.
This happened because we kept the previous "approval" quote while fetching new one.
So I added a check that there is no quote loading at the moment to show 'Approve' title.

@zerts zerts requested a review from everdimension September 16, 2025 10:48
@github-actions
Copy link

github-actions bot commented Sep 16, 2025

📦 build.zip [updated at Sep 16, 3:45:19 PM UTC]

@zerts zerts marked this pull request as draft September 16, 2025 14:31
@zerts zerts removed the request for review from everdimension September 16, 2025 14:31
@zerts zerts marked this pull request as ready for review September 17, 2025 10:19
@zerts zerts requested a review from everdimension September 17, 2025 10:20
if (hash) {
const tx = transactions.find((tx) => tx.hash === hash);
return tx ? getTransactionObjectStatus(tx) : null;
return tx ? getTransactionObjectStatus(tx) : 'pending';
Copy link
Member

Choose a reason for hiding this comment

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

Do you think this is correct? Can there be a problem where "pending" a wrong label to show/use?

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.

2 participants