diff --git a/src/lib/use-bubble-counts.ts b/src/lib/use-bubble-counts.ts index 641a58e..8b3719e 100644 --- a/src/lib/use-bubble-counts.ts +++ b/src/lib/use-bubble-counts.ts @@ -63,7 +63,7 @@ export function useBubbleCounts(): Counts { if (!user) return; load(); const ch = supabase - .channel(`bubbles-${user.id}`) + .channel(`bubbles-${user.id}-${Math.random().toString(36).slice(2)}`) .on("postgres_changes", { event: "*", schema: "public", table: "messages" }, () => load()) .on("postgres_changes", { event: "*", schema: "public", table: "task_assignees" }, () => load()) .on("postgres_changes", { event: "*", schema: "public", table: "tasks" }, () => load())