-
Notifications
You must be signed in to change notification settings - Fork 76
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
Remove "Review transaction" view #3164
base: development
Are you sure you want to change the base?
Remove "Review transaction" view #3164
Conversation
👷 Deploy request for wormhole-connect pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for wormhole-connect-mainnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -7,7 +7,6 @@ type Props = { | |||
destChain: Chain | undefined; | |||
destToken: string; | |||
route?: string; | |||
valid: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If gas top-up is not available for the route, we don't show it in the first place; hence this property is no longer needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that git thinks this was a move from views/v2/Bridge/ReviewTransaction/index.ts
to hooks/useConfirmTransaction.ts
because the most of the lines in the first one was moved over to the second one. However we actually just moved the send function to new hook and deleted views/v2/Bridge/ReviewTransaction/index.ts
.
43e6091
to
525af70
Compare
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
525af70
to
5ef14cf
Compare
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
This PR will remove the "Review Transaction" view/step and allow user to confirm a transaction from the main view. One important change here is moving the gas slider inside the route card for those that has gas top-up enabled.