notif
deploy / deploy (push) Successful in 37s

This commit is contained in:
Romain committed 2026-10-07 16:30:37 +02:00
1 parent 51a320b31f
commit d700543eba
28 files changed
+559 -19

No files matched your search

+12 -1
View File
@@ -170,7 +170,18 @@ export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNod
) : o.kind === 'reviews' ? (
<TitleReviews key={k} externalId={o.externalId} title={o.title} onClose={pop} onOpenProfile={(u) => push({ kind: 'profile', username: u })} />
) : (
<Notifications key={k} onClose={pop} onOpenProfile={(u) => push({ kind: 'profile', username: u })} />
<Notifications
key={k}
onClose={pop}
onOpenProfile={(u) => push({ kind: 'profile', username: u })}
onOpenItem={(id) => {
const it = items.find((i) => i.id === id)
if (it) {
pop()
onOpenOwnItem(it)
}
}}
/>
),
)}
{children}