fix
This commit is contained in:
parent
d32fde49a9
commit
67afa6b1a9
|
|
@ -175,7 +175,7 @@ export const EdScriptMonaco: FC<{}> = () => {
|
||||||
|
|
||||||
if (component.id && meta.jsx_prop?.name) {
|
if (component.id && meta.jsx_prop?.name) {
|
||||||
const prop_name = meta.jsx_prop.name;
|
const prop_name = meta.jsx_prop.name;
|
||||||
const prop = meta.item.component?.props[prop_name];
|
const prop = component?.props[prop_name];
|
||||||
propTypings(prop, types);
|
propTypings(prop, types);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue