Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 03:05:50 +00:00
co-authored by renee-png
parent f9de2d1c21
commit 2b7ace3056
@@ -48,7 +48,7 @@ export function NotificationBell() {
if (!user) return;
load();
const ch = supabase
.channel(`notif-${user.id}`)
.channel(`notif-${user.id}-${Math.random().toString(36).slice(2)}`)
.on(
"postgres_changes",
{ event: "*", schema: "public", table: "notifications", filter: `user_id=eq.${user.id}` },