Skip to content

Commit

Permalink
fix: metamask mobile optional
Browse files Browse the repository at this point in the history
  • Loading branch information
flobarreto committed May 11, 2023
1 parent 409c909 commit 3f61314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LoginModal/LoginModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type LoginModalOptionI18N = {
email: React.ReactNode
mobile: React.ReactNode
mobile_and_browser: React.ReactNode
metamask_mobile: React.ReactNode
metamask_mobile?: React.ReactNode | null
}

class LoginModalOption extends React.PureComponent<LoginModalOptionProps> {
Expand All @@ -65,7 +65,7 @@ class LoginModalOption extends React.PureComponent<LoginModalOptionProps> {
switch (type) {
case LoginModalOptionType.METAMASK_MOBILE:
title = 'MetaMask'
subtitle = i18n.metamask_mobile
subtitle = i18n.metamask_mobile || i18n.mobile
break

case LoginModalOptionType.METAMASK:
Expand Down

0 comments on commit 3f61314

Please sign in to comment.