summaryrefslogtreecommitdiff
path: root/web/src/defaultDoc.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/defaultDoc.ts')
-rw-r--r--web/src/defaultDoc.ts4
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: [