fix history (#1009)

* fix history

* tweak withBatchedUpdates typing
This commit is contained in:
David Luzar 2020-03-19 14:51:05 +01:00 committed by GitHub
parent ca5f37850e
commit 82ce068972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 86 additions and 80 deletions

View file

@ -357,5 +357,6 @@ export async function loadScene(id: string | null, privateKey?: string) {
return {
elements: data.elements,
appState: data.appState && { ...data.appState },
commitToHistory: false,
};
}