remove unneeded assignment

This commit is contained in:
Bruno Windels 2022-04-25 12:40:25 +02:00
parent 6c57c96cb9
commit ab893f63b5

View file

@ -287,7 +287,6 @@ export class TemplateBuilder<T extends IObservableValue> {
let attributes: Attributes<T> | undefined;
if (attributes !== undefined && isChildren(attributes)) {
children = attributes;
attributes = undefined;
} else {
attributes = attributesOrChildren as Attributes<T>;
}