new perspective command

This commit is contained in:
Jan Prochazka
2022-09-01 11:18:25 +02:00
parent a910e91a91
commit eab5f4fe5e
5 changed files with 33 additions and 6 deletions

View File

@@ -101,10 +101,14 @@
});
const [modelState, dispatchModel] = createUndoReducer(
createPerspectiveConfig({
schemaName,
pureName,
})
createPerspectiveConfig(
pureName
? {
schemaName,
pureName,
}
: null
)
);
const cache = new PerspectiveCache();