This commit is contained in:
Rizky 2024-04-15 10:01:28 +07:00
parent 1dcfef760a
commit 36b0dcc5f1
2 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -69,11 +69,13 @@ export const viEvalScript = (
replace_child = true; replace_child = true;
} }
if (!child.key) { if (!child.key) {
if (replace_child) {
console.warn( console.warn(
`No key prop in item: ${meta.item.name}`, `No key prop in item: ${meta.item.name}`,
`\n\n`, `\n\n`,
meta.item.adv?.js meta.item.adv?.js
); );
}
} else { } else {
new_childs.push({ new_childs.push({
...child, ...child,