Skip to content

Commit

Permalink
chore: remove create wallet button from settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Oct 18, 2023
1 parent d24bd49 commit da7f546
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
17 changes: 0 additions & 17 deletions src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,23 +217,6 @@ export default function Settings({ wallet, stopWallet }: SettingsProps) {
<Sprite symbol="wallet" width="24" height="24" />
{t('settings.button_switch_wallet')}
</Link>
<rb.Button
variant="outline-dark"
className={styles['settings-btn']}
onClick={() => lockWallet({ force: false, navigateTo: routes.createWallet })}
>
{lockingWallet ? (
<>
<rb.Spinner as="span" animation="border" size="sm" role="status" aria-hidden="true" className="mx-1" />
{t('settings.button_locking_wallet')}
</>
) : (
<>
<Sprite symbol="plus" width="24" height="24" />
{t('settings.button_create_wallet')}
</>
)}
</rb.Button>

{serviceInfo && isFeatureEnabled('rescanChain', serviceInfo) && isDebugFeatureEnabled('rescanChainPage') && (
<Link
Expand Down
1 change: 0 additions & 1 deletion src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
"button_lock_wallet": "Lock wallet",
"button_locking_wallet": "Locking...",
"button_switch_wallet": "Switch wallet",
"button_create_wallet": "Create new wallet",
"error_loading_seed_failed": "Could not retrieve seed phrase.",
"seed_modal_info_text": "Please write down your seed phrase and password! Without this information you will not be able to access and recover your wallet!",
"documentation": "Documentation",
Expand Down

0 comments on commit da7f546

Please sign in to comment.