Rename initialDocument to initialProjectDocument in createEditorStore

This commit is contained in:
2026-04-11 03:49:10 +02:00
parent 422b570749
commit af3af9c857

View File

@@ -15,7 +15,7 @@ if (rootElement === null) {
const storageAccess = getBrowserStorageAccess();
const bootstrapResult = loadOrCreateSceneDocument(storageAccess.storage);
const editorStore = createEditorStore({
initialDocument: bootstrapResult.document,
initialProjectDocument: bootstrapResult.document,
initialViewportLayoutState: bootstrapResult.viewportLayoutState ?? undefined,
storage: storageAccess.storage
});