Update UnifiedNotifications.tsx

This commit is contained in:
NotII
2025-03-08 16:37:25 +00:00
parent c7a2755aaf
commit dcd46bdf7a

View File

@@ -307,8 +307,6 @@ export default function UnifiedNotifications() {
)} )}
</TabsTrigger> </TabsTrigger>
</TabsList> </TabsList>
</Tabs>
</div>
<TabsContent value="all" className="m-0"> <TabsContent value="all" className="m-0">
{totalNotifications === 0 ? ( {totalNotifications === 0 ? (
@@ -353,11 +351,6 @@ export default function UnifiedNotifications() {
</> </>
)} )}
{/* Divider if both types are present */}
{unreadCounts.totalUnread > 0 && newOrders.length > 0 && (
<DropdownMenuSeparator />
)}
{/* Orders Section */} {/* Orders Section */}
{newOrders.length > 0 && ( {newOrders.length > 0 && (
<> <>
@@ -505,6 +498,8 @@ export default function UnifiedNotifications() {
</> </>
)} )}
</TabsContent> </TabsContent>
</Tabs>
</div>
</DropdownMenuContent> </DropdownMenuContent>
</DropdownMenu> </DropdownMenu>
); );