fix: returned initial appState, added missing constant

This commit is contained in:
Arnošt Pleskot 2023-09-21 10:15:02 +02:00
parent 8b9dd3c422
commit 13ea98e2e5
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -66,7 +66,7 @@ export const getDefaultAppState = (): Omit<
openMenu: null,
openPopup: null,
openSidebar: null,
openDialog: "imageExport",
openDialog: null,
pasteDialog: { shown: false, data: null },
previousSelectedElementIds: {},
resizingElement: null,
@ -95,7 +95,7 @@ export const getDefaultAppState = (): Omit<
pendingImageElementId: null,
showHyperlinkPopup: false,
selectedLinearElement: null,
fancyBackgroundImageKey: "bubbles",
fancyBackgroundImageKey: DEFAULT_FANCY_BACKGROUND_IMAGE,
};
};