removed unneeded conditions

pull/6838/head
henninggross 5 years ago
parent 8d39ccd566
commit 881843a784

@ -32,7 +32,7 @@ export default class Animation extends Node {
return;
}
if (block && block.type === 'EachBlock' && !block.key) {
if (!block.key) {
component.error(this, compiler_errors.invalid_animation_key);
return;
}

Loading…
Cancel
Save