mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 08:06:51 +00:00
Add generator quick switcher
This commit is contained in:
@@ -27,7 +27,7 @@ export const transformOutput: Hook<[any, OutputProps], any> = {
|
||||
const res: any = {}
|
||||
Object.keys(value).forEach(f => {
|
||||
if (blockState) {
|
||||
if (!Object.keys(blockState.properties).includes(f)) return
|
||||
if (!Object.keys(blockState.properties ?? {}).includes(f)) return
|
||||
}
|
||||
res[f] = children.hook(this, path.push(f), value[f], props)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user