Fixed random error I started getting about main being undefined??

This commit is contained in:
thepaperpilot 2022-12-23 08:48:17 -06:00
parent c1f6741c75
commit dcabdac385

View file

@ -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(() => (