From befd25639feb9c1f06ebb3a22f004ddf1a3bdba1 Mon Sep 17 00:00:00 2001 From: bc-yevhenii-buliuk Date: Wed, 16 Oct 2024 13:07:57 +0300 Subject: [PATCH] fix(core): add empty state to addresses page --- .../account/(tabs)/addresses/_components/address-book.tsx | 5 +++++ core/messages/en.json | 1 + 2 files changed, 6 insertions(+) diff --git a/core/app/[locale]/(default)/account/(tabs)/addresses/_components/address-book.tsx b/core/app/[locale]/(default)/account/(tabs)/addresses/_components/address-book.tsx index 27e894a022..bfcc9db697 100644 --- a/core/app/[locale]/(default)/account/(tabs)/addresses/_components/address-book.tsx +++ b/core/app/[locale]/(default)/account/(tabs)/addresses/_components/address-book.tsx @@ -79,6 +79,11 @@ export const AddressBook = ({

{accountState.message}

)} + {!addressesCount && ( +

+ {t('emptyAddresses')} +

+ )}