+
+
Notifications
+
+ {unreadCount ? (
+
-
+ ) : null}
+
+
+
+
+ {notifications?.length && timezone ? (
+
+ {notifications.map((notification) => (
+
+ ))}
+
+ ) : (
+
+ You have no new notifications.
+
)}
- {notifications?.length && timezone ? (
-
- {notifications.map((notification) => (
-
- ))}
-
- ) : (
-
- You have no new notifications.
-
- )}
)}
-
-
+
+ >
);
}
diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx
index 23fa1c8..0859e3a 100644
--- a/components/layout/navbar.tsx
+++ b/components/layout/navbar.tsx
@@ -97,9 +97,7 @@ export function Navbar({ notificationsWire }: { notificationsWire: string }) {
{
href: `/${tenant}/projects/${projectId}/posts`,
label: "Posts",
- active: pathname.startsWith(
- `/${tenant}/projects/${projectId}/posts`,
- ),
+ active: pathname.startsWith(`/${tenant}/projects/${projectId}/posts`),
},
{
href: `/${tenant}/projects/${projectId}/activity`,
@@ -120,11 +118,6 @@ export function Navbar({ notificationsWire }: { notificationsWire: string }) {
label: "Today",
active: pathname === `/${tenant}/today`,
},
- {
- href: `/${tenant}/notifications`,
- label: "Notifications",
- active: pathname === `/${tenant}/notifications`,
- },
{
href: `/${tenant}/settings`,
label: "Settings",