Skip to content

Commit

Permalink
chore(navbar): add import wallet button to navbar on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Oct 24, 2023
1 parent f044e46 commit 98f51a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,15 @@ export default function Navbar() {
{t('navbar.button_create_wallet')}
</Link>
</rb.Nav.Item>
<rb.Nav.Item>
<Link
to={routes.importWallet}
onClick={() => isExpanded && setIsExpanded(false)}
className="nav-link"
>
{t('navbar.button_import_wallet')}
</Link>
</rb.Nav.Item>
</rb.Nav>
</rb.Offcanvas.Body>
</rb.Navbar.Offcanvas>
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"title": "Jam",
"text_rescan_in_progress": "Rescanning...",
"button_create_wallet": "Create Wallet",
"button_import_wallet": "Import Wallet",
"tab_send": "Send",
"tab_receive": "Receive",
"tab_earn": "Earn",
Expand Down

0 comments on commit 98f51a3

Please sign in to comment.