mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
remove unneeded assignment
This commit is contained in:
parent
6c57c96cb9
commit
ab893f63b5
@ -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>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user