-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix: display msg if tokenId already exists #20940
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
5a05e80
to
469b844
Compare
945161e
to
724c1d7
Compare
3424791
to
f65b2a9
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.
Just some small nits. This is awesome!
e95ca5c
to
d2c6d07
Compare
bd90602
to
4642172
Compare
Builds ready [4642172]
Page Load Metrics (1631 ± 50 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #20940 +/- ##
===========================================
+ Coverage 68.46% 68.48% +0.02%
===========================================
Files 1012 1012
Lines 40449 40472 +23
Branches 10790 10799 +9
===========================================
+ Hits 27693 27715 +22
- Misses 12756 12757 +1
☔ View full report in Codecov by Sentry. |
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
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.
hold on, just noticed something... comment incoming
4c52200
to
3b96e19
Compare
Builds ready [6304f83]
Page Load Metrics (1059 ± 339 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
6304f83
to
825b36c
Compare
Builds ready [825b36c]
Page Load Metrics (548 ± 334 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
56bbd44
to
2132d39
Compare
Builds ready [2132d39]
Page Load Metrics (842 ± 386 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
2132d39
to
9229826
Compare
Builds ready [9229826]
Page Load Metrics (914 ± 356 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
6a6074d
6a6074d
to
87e4c87
Compare
Builds ready [87e4c87]
Page Load Metrics (913 ± 395 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
87e4c87
to
38e62ae
Compare
Builds ready [38e62ae]
Page Load Metrics (529 ± 321 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Explanation
This PR adds displaying an error msg when the nft has been already imported.
This avoids seeing the same nft twice when the user first imports tokenId(decimal value) then imports it again (hex value).
Screenshots/Screencaps
Before
Github issue : #18957
After
1- Mint and import nft with id 577
2- Try importing Nft again with id 577
3- Try importing Nft again with hex value: 0x241
Manual Testing Steps
Pre-merge author checklist
Pre-merge reviewer checklist