-
Notifications
You must be signed in to change notification settings - Fork 122
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/1442 - Extension: Updates to MASP Tx Details #1506
Conversation
610cc7e
to
79ce09b
Compare
79ce09b
to
73219ac
Compare
3cb0ddb
to
d4ed65b
Compare
d4ed65b
to
d9cc843
Compare
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.
LGTM! :)
import { TransactionCard } from "./TransactionCard"; | ||
|
||
type CommitmentProps = { | ||
commitment: CommitmentDetailProps; | ||
wrapperFeePayer?: string; |
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.
Question: Wouldn't wrapperFeePayer
always be defined here? Even if we don't provide it as an initial Tx argument, I think this will always be set to an address by the time it is deserialized. If that's the case, this wouldn't need to be optional, but I'm not completely sure
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.
Yeah I think it's always there. I can typecast :D
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.
LGTM! I can't actually approve this since I opened it initially. Just left one very minor comment, but feel free to merge!
|
||
const renderContent = ( | ||
tx: CommitmentDetailProps, | ||
wrapperFeePayer?: string |
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.
I think this wrapperFeePayer
doesn't need to be optional
e550e89
to
929c570
Compare
Resolves #1442