-
Notifications
You must be signed in to change notification settings - Fork 102
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
problem: SignTx dialog renders wrong tx value #639
Conversation
a8aa083
to
3556485
Compare
Codecov Report
@@ Coverage Diff @@
## master #639 +/- ##
==========================================
+ Coverage 27.42% 27.85% +0.43%
==========================================
Files 158 158
Lines 3001 2990 -11
Branches 405 405
==========================================
+ Hits 823 833 +10
+ Misses 1956 1936 -20
+ Partials 222 221 -1
Continue to review full report at Codecov.
|
const { value, fiatRate, fiatCurrency, fee, tx } = props; | ||
const { onCancel, handleSubmit } = props; | ||
export const SignTx = ((props) => { | ||
const { fiatRate, fiatCurrency, fee, tx, nativeTx } = props; |
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.
dont need nativeTx
here
}; | ||
|
||
describe('SignTx', () => { | ||
it('should render tx value correctly', () => { |
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 work
LGTM after removing the unused var. Speaking of which -- Why did this not produce a linting error? |
No description provided.