Skip to content

Commit

Permalink
fix(core): add empty state to addresses page
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-yevhenii-buliuk authored and bc-azvierieva committed Oct 21, 2024
1 parent e0c7fb5 commit 44cad7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const AddressBook = ({
<p>{accountState.message}</p>
</Message>
)}
{!addressesCount && <p className="border-t py-12 text-center">{t('emptyAddresses')}</p>}
<ul className="mb-12">
{addressBook.map(
({
Expand Down
1 change: 1 addition & 0 deletions core/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"title": "Addresses",
"addNewAddress": "Add new address",
"editButton": "Edit",
"emptyAddresses": "No addresses added",
"deleteButton": "Delete",
"confirmDeleteAddress": "Delete address",
"deleteModalTitle": "Are you sure you want to delete this address?",
Expand Down

0 comments on commit 44cad7c

Please sign in to comment.