-
-
+
+ {renderFilterTabs()}
+
+
+
+
-
-
- {displayedNotifications.map(renderNotification)}
-
-
+ {/* Keep AnimatePresence mounted during clearing to preserve exit animations */}
+
+
+ {hasNoNotifications && !isClearing ? (
+
+
+
+
+
{t("empty_title")}
+
+ {filter === "unread"
+ ? t("empty_filter_description")
+ : t("empty_description")}
+
+
+ ) : (
+
+
+ {displayedNotifications.map(renderNotification)}
+
+
+ )}
+
+
- {pagination.hasMore && (
+ {pagination.hasMore && !isClearing && (