-
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
chore: removes portfolio button & fixes code fence of receive modal #27286
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. |
…ask/metamask-extension into MMI-5489-remove-portfolio-new-link
Builds ready [5718e63]
Page Load Metrics (1844 ± 155 ms)
Bundle size diffs
|
@@ -34,6 +34,8 @@ const NoteToTrader: React.FC = () => { | |||
getIsNoteToTraderSupported(state, fromChecksumHexAddress), | |||
); | |||
|
|||
const MAX_LENGTH = 280; |
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.
@@ -42,7 +44,11 @@ const NoteToTrader: React.FC = () => { | |||
return () => clearTimeout(timer); | |||
}, [noteText]); | |||
|
|||
return isNoteToTraderSupported && !isSignature ? ( | |||
if (!isNoteToTraderSupported || isSignature) { |
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.
@pedronfigueiredo And here.
Quality Gate passedIssues Measures |
Builds ready [2b8a98f]
Page Load Metrics (2011 ± 136 ms)
Bundle size diffs
|
Description
In MMI we don't want to show the new Portfolio button, therefore we are code fencing it.
Fixes the "receive" modal for MMI build, because of a misplaced code fence.
Also adds a small code improvement for MMI note to trader component.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist