Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
366a40356f
commit
2d2ee28c34
@@ -72,7 +72,7 @@ export function CommentThread({
|
||||
useEffect(() => {
|
||||
load();
|
||||
const ch = supabase
|
||||
.channel(`comments-${entityType}-${entityId}`)
|
||||
.channel(`comments-${entityType}-${entityId}-${Math.random().toString(36).slice(2)}`)
|
||||
.on(
|
||||
"postgres_changes",
|
||||
{ event: "*", schema: "public", table: "comments", filter: `entity_id=eq.${entityId}` },
|
||||
|
||||
Reference in New Issue
Block a user