Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
#41 | simplified the install extension scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclav-slavik committed Jan 21, 2022
1 parent 0a20173 commit 3144db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Wallet/AccountSelector/AccountSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const AccountSelector = ({
<div className="account-selector__content-wrapper">
<div className="d-flex flex-align-space mx-3 my-3 account-selector__heading">
<div>
{isExtensionAvailable ? 'Select an account' : 'Install extension'}
{isExtensionAvailable ? 'Select an account' : 'Connect an account'}
</div>
<div
className="account-selector__close-modal-btn"
Expand Down
4 changes: 1 addition & 3 deletions src/components/Wallet/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const Wallet = ({
>
{extensionLoading ? (
<div className="wallet__info">Loading...</div>
) : isExtensionAvailable ? (
) : (
<>
{account ? (
<>
Expand Down Expand Up @@ -99,8 +99,6 @@ export const Wallet = ({
</>
)}
</>
) : (
<div className="wallet__info">Install extension</div>
)}
<div>
<Icon type={IconType.DROPDOWN_ARROW} />
Expand Down

0 comments on commit 3144db9

Please sign in to comment.