-
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
Add token verification message to swaps build quote screen #9891
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. |
Builds ready [c8d7714]
Page Load Metrics (451 ± 60 ms)
|
@Gudahtt your two comments are addressed in the two most recent commits |
Builds ready [631fd07]
Page Load Metrics (410 ± 58 ms)
|
{selectedToToken?.address && | ||
selectedToToken?.address !== ETH_SWAPS_TOKEN_OBJECT.address && ( | ||
<div className="build-quote__token-message"> | ||
<span> |
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.
What is the purpose of this span
?
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.
Nothing 😅 It has been removed
Builds ready [a0565e1]
Page Load Metrics (319 ± 44 ms)
|
Co-authored-by: Mark Stacey <[email protected]>
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!
Builds ready [9164df2]
Page Load Metrics (355 ± 50 ms)
|
Fixes part of #9873
The user will now see a message below the token 'to' field that links them to etherscan where they can verify that the token they selected is the one they indeed wish to swap.