This commit is contained in:
Rizky 2024-04-15 09:56:21 +07:00
parent 0d4ba0cb08
commit 1dcfef760a
2 changed files with 34 additions and 31 deletions

File diff suppressed because one or more lines are too long

View File

@ -62,7 +62,10 @@ export const viEvalScript = (
if (childs.length > 1) {
let new_childs = [];
for (const child of childs) {
if (isValid(child) && child.type === meta.script?.PassProp) {
if (
isValidElement(child) &&
child.type === meta.script?.PassProp
) {
replace_child = true;
}
if (!child.key) {