From b77389284c59ef8f92666c56bb7d3ed433f60e00 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Tue, 3 Jun 2025 00:12:39 +0530 Subject: [PATCH] enhance UX for loading and empty states in contact table --- src/pages/Directory/Directory.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Directory/Directory.jsx b/src/pages/Directory/Directory.jsx index dc6661de..692ca1af 100644 --- a/src/pages/Directory/Directory.jsx +++ b/src/pages/Directory/Directory.jsx @@ -341,7 +341,7 @@ const handleDeleteContact = async (overrideId = null) => { {/* Messages when listView is false */} {!listView && ( -
+
{loading &&

Loading...

} {!loading && contacts?.length === 0 &&

No contact found

} {!loading && contacts?.length > 0 && currentItems.length === 0 && (