undefined does not compile, use "" instead

This commit is contained in:
unsoftcapped3 2022-12-11 18:56:03 -08:00 committed by GitHub
parent d9bbd9dce0
commit f7e26ac426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;