-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
native send flow: review & send #12240
Conversation
a9ac15c
to
69bd136
Compare
const decreaseOutputId = precomposedTx?.useNativeRbf | ||
? precomposedForm?.setMaxOutputId | ||
: undefined; |
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.
This is duplicated between here and selectTransactionReviewOutputs
in suite-native/module-send/src/selectors.ts
, it could be moved inside the selector
} = form; | ||
const rawValues = watch(); | ||
|
||
useEffect(() => { |
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.
Why is this an effect? You could debounce even in onChange handler and could be more deterministic...
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.
Nice job here 🚀
Just a few nits :)
/> | ||
</> | ||
)} | ||
{totalSpent && ( |
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.
fee and total spent look very similar.
If this is from final design I suggest to make a component for it. If not, just ignore this
Closing in favor of new PR: #12968 |
Description
Related Issue
Closes #10867
Closes #10868
Screenshots:
Screen.Recording.2024-05-03.at.8.08.26.mov