mirror of
https://github.com/Funkoala14/CreatorCenter_OOIN.git
synced 2025-06-07 22:58:14 +08:00
Update InboxList.jsx
This commit is contained in:
parent
6fd9458d07
commit
4653afdefe
@ -68,7 +68,7 @@ export default function InboxList() {
|
||||
<div className='list-content'>
|
||||
{status === 'loading' && <div>Loading...</div>}
|
||||
{status === 'failed' && <div>Error: {error}</div>}
|
||||
{status === 'succeeded' && inboxList.length > 0 &&
|
||||
{status === 'succeeded' && (inboxList.length > 0 ?
|
||||
inboxList.map((item) => (
|
||||
<div
|
||||
key={item.id}
|
||||
@ -91,7 +91,7 @@ export default function InboxList() {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
)) : <div className='list-item-empty'>No Chats Found</div>)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user