* revert changes

This commit is contained in:
2026-05-10 15:11:24 +02:00
parent 78d872c83e
commit 1ef970fef3
10 changed files with 183 additions and 474 deletions

View File

@@ -1,6 +1,5 @@
import * as Y from "yjs";
import { getDeadline } from "../state";
import { enforceAppendOnly } from "../yDocUtil";
const DEADLINE_DURATION_MS = 2 * 60 * 1000; // 2 minutes
@@ -80,7 +79,7 @@ export function DeadlineTimer(
onClearDeadline();
});
deadlineMap.observe(enforceAppendOnly(deadlineMap,render));
deadlineMap.observe(() => render());
render();
return wrapper;