mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +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;
|
let attributes: Attributes<T> | undefined;
|
||||||
if (attributes !== undefined && isChildren(attributes)) {
|
if (attributes !== undefined && isChildren(attributes)) {
|
||||||
children = attributes;
|
children = attributes;
|
||||||
attributes = undefined;
|
|
||||||
} else {
|
} else {
|
||||||
attributes = attributesOrChildren as Attributes<T>;
|
attributes = attributesOrChildren as Attributes<T>;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user