From 6ea86b1b56aebbae7edeb37b01d7bf5cd145bf60 Mon Sep 17 00:00:00 2001 From: Josh Kingsley Date: Thu, 6 Nov 2025 22:31:12 +0200 Subject: feat(web): change subvisions --- web/src/defaultDoc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/src/defaultDoc.ts') diff --git a/web/src/defaultDoc.ts b/web/src/defaultDoc.ts index 7409c1a..0a3fbfb 100644 --- a/web/src/defaultDoc.ts +++ b/web/src/defaultDoc.ts @@ -9,7 +9,7 @@ export default function defaultDoc(): Doc { return { grids: [ { - id: window.crypto.randomUUID(), + id: globalThis.crypto.randomUUID(), baseCellSize: 42, baseCellWidthRatio: new Ratio(1, 16), parts: [ @@ -21,7 +21,7 @@ export default function defaultDoc(): Doc { ], }, { - id: window.crypto.randomUUID(), + id: globalThis.crypto.randomUUID(), baseCellSize: 42, baseCellWidthRatio: new Ratio(1, 16), parts: [ -- cgit v1.2.3