forked from mystiq/hydrogen-web
Don't call render()
This commit is contained in:
parent
e99cd41ed0
commit
fee6447e22
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue