-
-
+
+ {/* ─── ALL ─────────────────────────────────────────────────── */}
+
+ {isLoading && badgeTotal === 0 && (
+
+ Checking for updates…
- You're all caught up
-
- Crew invites and membership requests will show up here.
-
+ )}
+ {!isLoading && crewTotal === 0 && activity.length === 0 && (
+
+ )}
+
+ {joinRequests.map(({ request, crew, endorsements }) => (
+
+ ))}
+ {invites.map((invite) => (
+
+ ))}
+ {listedCrews.map((crew) => (
+
+ ))}
+ {activity.map((n) => (
+
lastRead}
+ onNavigate={() => setOpen(false)}
+ />
+ ))}
- )}
+
- {joinRequests.map(({ request, crew, endorsements }) => (
-
- ))}
+ {/* ─── SOCIAL ──────────────────────────────────────────────── */}
+
+ {activityLoading && activity.length === 0 && (
+
+ Checking for updates…
+
+ )}
+ {!activityLoading && activity.length === 0 && (
+
+ )}
+
+ {activity.map((n) => (
+
lastRead}
+ onNavigate={() => setOpen(false)}
+ />
+ ))}
+
+
- {invites.map((invite) => (
-
- ))}
-
- {listedCrews.map((crew) => (
-
- ))}
-
-
+ {/* ─── CREWS ───────────────────────────────────────────────── */}
+
+ {crewLoading && crewTotal === 0 && (
+
+ Checking for updates…
+
+ )}
+ {!crewLoading && crewTotal === 0 && (
+
+ )}
+
+ {joinRequests.map(({ request, crew, endorsements }) => (
+
+ ))}
+ {invites.map((invite) => (
+
+ ))}
+ {listedCrews.map((crew) => (
+
+ ))}
+
+
+
+