From 3072dc70c03a81d93e38221fcd4452981eade326 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 10 Nov 2025 18:10:55 -0800 Subject: [PATCH] fix prod --- src/routes/Board.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/Board.tsx b/src/routes/Board.tsx index 01a921d..b07b117 100644 --- a/src/routes/Board.tsx +++ b/src/routes/Board.tsx @@ -374,10 +374,11 @@ export function Board() { checkAndFixMissingShapes() // Listen to store changes to continuously monitor for missing shapes + // Listen to ALL sources (user, remote, etc.) to catch shapes loaded from Automerge const unsubscribe = store.store.listen(() => { // Debounce the check to avoid excessive calls setTimeout(checkAndFixMissingShapes, 500) - }, { source: "user", scope: "document" }) + }) return () => { unsubscribe()