-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Refactor token send/method confirmation flow (trimmed down) #13788
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
Changes from all commits
08b88fe
4c6812a
13c6b83
a2d975b
4716090
cad8876
2274bc1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,8 @@ import useAddressDetails from '../../../../../hooks/useAddressDetails'; | |
| import Identicon from '../../../../ui/identicon'; | ||
| import InfoTooltip from '../../../../ui/info-tooltip'; | ||
| import NicknamePopovers from '../../../modals/nickname-popovers'; | ||
| import Typography from '../../../../ui/typography'; | ||
| import { TYPOGRAPHY } from '../../../../../helpers/constants/design-system'; | ||
|
|
||
| const ConfirmPageContainerSummary = (props) => { | ||
| const { | ||
|
|
@@ -116,9 +118,15 @@ const ConfirmPageContainerSummary = (props) => { | |
| <div className="confirm-page-container-summary__title"> | ||
| {renderImage()} | ||
| {!hideTitle ? ( | ||
| <div className="confirm-page-container-summary__title-text"> | ||
| <Typography | ||
| className="confirm-page-container-summary__title-text" | ||
| variant={ | ||
| title && title.length < 10 ? TYPOGRAPHY.H1 : TYPOGRAPHY.H3 | ||
| } | ||
| title={title} | ||
| > | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. An option here is to use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done here: 86826e7 |
||
| {titleComponent || title} | ||
| </div> | ||
| </Typography> | ||
| ) : null} | ||
| </div> | ||
| {hideSubtitle ? null : ( | ||
|
|
||
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.
decimalsandbalanceare not converted fromBNs tostrings automagically in Firefox (as they are in Chrome) so we need to do this for now.