diff options
| author | Josh Kingsley <josh@joshkingsley.me> | 2025-11-06 22:31:12 +0200 |
|---|---|---|
| committer | Josh Kingsley <josh@joshkingsley.me> | 2025-11-06 22:31:12 +0200 |
| commit | 6ea86b1b56aebbae7edeb37b01d7bf5cd145bf60 (patch) | |
| tree | bfd0178097a56087471543950caebed5f8280040 /web/src/defaultDoc.ts | |
| parent | dad5b47f0bb480532043df8d488f5609f731b00d (diff) | |
feat(web): change subvisions
Diffstat (limited to 'web/src/defaultDoc.ts')
| -rw-r--r-- | web/src/defaultDoc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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: [ |
