mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 02:27:52 +02:00
make clearing state for storage more type-safe (#1884)
This commit is contained in:
@@ -374,7 +374,7 @@ export const loadScene = async (id: string | null, privateKey?: string) => {
|
||||
|
||||
return {
|
||||
elements: data.elements,
|
||||
appState: data.appState && { ...data.appState },
|
||||
appState: data.appState,
|
||||
commitToHistory: false,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user