mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
undefined does not compile, use "" instead
This commit is contained in:
parent
d9bbd9dce0
commit
f7e26ac426
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ const layer = createLayer(id, () => {
|
|||
// some milestone display stuff
|
||||
const currentShown = persistent<string>("Holly");
|
||||
const currentElfDisplay = computed(() => {
|
||||
let disp: { displayMilestone: JSXFunction } = { displayMilestone: jsx(() => undefined) };
|
||||
let disp: { displayMilestone: JSXFunction } = { displayMilestone: jsx(() => "") };
|
||||
switch (currentShown.value) {
|
||||
case "Holly":
|
||||
disp = cutterElfTraining;
|
||||
|
|
Loading…
Add table
Reference in a new issue