From 4653afdefeffdf520c7dc49f9ecd61045bc3b2fc Mon Sep 17 00:00:00 2001 From: susie-laptop Date: Wed, 4 Jun 2025 20:49:10 -0400 Subject: [PATCH] Update InboxList.jsx --- src/components/InboxList.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InboxList.jsx b/src/components/InboxList.jsx index bfe8b15..7b63459 100644 --- a/src/components/InboxList.jsx +++ b/src/components/InboxList.jsx @@ -68,7 +68,7 @@ export default function InboxList() {
{status === 'loading' &&
Loading...
} {status === 'failed' &&
Error: {error}
} - {status === 'succeeded' && inboxList.length > 0 && + {status === 'succeeded' && (inboxList.length > 0 ? inboxList.map((item) => (
- ))} + )) :
No Chats Found
)}
);