mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Fixed random error I started getting about main being undefined??
This commit is contained in:
parent
c1f6741c75
commit
dcabdac385
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ const isPaused = computed({
|
||||||
});
|
});
|
||||||
|
|
||||||
const canAutoSave = computed(
|
const canAutoSave = computed(
|
||||||
() => (layers as any).main.days[(layers as any).main.day.value - 1].opened.value
|
() => (layers as any).main?.days[(layers as any).main?.day.value - 1].opened.value
|
||||||
);
|
);
|
||||||
|
|
||||||
const autosaveTitle = jsx(() => (
|
const autosaveTitle = jsx(() => (
|
||||||
|
|
Loading…
Reference in a new issue