From 366a40356fd6058ec85cae205e0601206e9c0484 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 03:05:59 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/use-bubble-counts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())