Skip to content

Commit

Permalink
show back button even if email or sms login are present
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Aug 27, 2024
1 parent b4d5fa1 commit 80d2e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default function Modal(props: ModalProps) {
) : (
<ExternalWallets
modalStatus={modalState.status}
showBackButton={areSocialLoginsVisible}
showBackButton={areSocialLoginsVisible || isEmailPasswordlessLoginVisible || isSmsPasswordlessLoginVisible}
handleExternalWalletClick={preHandleExternalWalletClick}
walletConnectUri={modalState.walletConnectUri}
wcAdapters={modalState.wcAdapters}
Expand Down

0 comments on commit 80d2e32

Please sign in to comment.