mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Don't call render()
This commit is contained in:
parent
e99cd41ed0
commit
fee6447e22
@ -27,7 +27,7 @@ export class ReplyPreviewView extends TemplateView {
|
|||||||
// todo: this should probably be called viewClassForTile instead
|
// todo: this should probably be called viewClassForTile instead
|
||||||
const viewClass = viewClassForEntry(vm);
|
const viewClass = viewClassForEntry(vm);
|
||||||
const view = new viewClass(vm, { reply: true, interactive: false });
|
const view = new viewClass(vm, { reply: true, interactive: false });
|
||||||
const rendered = view.render(t, vm);
|
const rendered = t.view(view);
|
||||||
return this._renderReplyHeader(t, vm, [rendered]);
|
return this._renderReplyHeader(t, vm, [rendered]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user