diff --git a/src/pages/Layout.js b/src/pages/Layout.js index cf55ec715..16d88dae4 100644 --- a/src/pages/Layout.js +++ b/src/pages/Layout.js @@ -35,7 +35,7 @@ export default function Layout(props) { }, []); function accountHeader() { - const unreadNotifications = notifications?.filter(a => a.created_at > readNotifications).length ?? 0; + const unreadNotifications = notifications?.filter(a => (a.created_at * 1000) > readNotifications).length ?? 0; return ( <>
navigate("/notifications")}>