import { Col, Row } from "antd"; import { ContentImage } from "../../Components/Image"; import { ContentLayout } from "../../Components/ContentLayout"; import { LargeArrowBack } from "../../Components/Icons/LargeArrowBack"; import { MoodReadResponse } from "@newstackdev/iosdk-newgraph-client-js"; import { NLView } from "../../types"; import { PostWidget } from "../../Components/PostWidget"; import { UserReadPrivateResponse } from "@newstackdev/iosdk-newgraph-client-js"; import { useAppState } from "../../overmind"; import Avatar from "antd/lib/avatar/avatar"; const NotificationBox: NLView<{ user: UserReadPrivateResponse; mood: MoodReadResponse; post: any; username: any; aspectRatio: any; }> = ({ user, mood, aspectRatio, username, post }) => { console.log(mood); return ( } className="avatar-image-header" /> newdomain.io added your...

Now

1h

); }; export const Notifications: NLView = () => { const state = useAppState(); const moods = state.lists.top.moods.items; const postsList = moods.map((m) => m.posts)[0]; const user: UserReadPrivateResponse = state.api.auth.user || {}; if (!user) return
"Must be logged in"
; return ( {/* */}
{postsList?.slice(0, 20).map((p: any, i: number) => ( ))}
); };