From 98f51a3e9c03a71709248568c696103d5606d9b4 Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Tue, 24 Oct 2023 18:23:11 +0200 Subject: [PATCH] chore(navbar): add import wallet button to navbar on mobile --- src/components/Navbar.tsx | 9 +++++++++ src/i18n/locales/en/translation.json | 1 + 2 files changed, 10 insertions(+) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 5df93124..1fca9047 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -314,6 +314,15 @@ export default function Navbar() { {t('navbar.button_create_wallet')} + + isExpanded && setIsExpanded(false)} + className="nav-link" + > + {t('navbar.button_import_wallet')} + + diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index 4f50da28..852ee544 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -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",