Co-authored-by: Italo José <italo.i@live.com>
This commit is contained in:
Joe Pea
2025-03-19 19:57:15 -05:00
committed by Italo José
parent 5a53385b54
commit 618e5a24ba

View File

@@ -250,7 +250,7 @@ const withDiv = function withDiv(callback) {
export const withRenderedTemplate = function withRenderedTemplate(template, data, callback) {
withDiv((el) => {
const ourTemplate = isString(template) ? Template[template] : template;
vonst view = Blaze.renderWithData(ourTemplate, data, el);
const view = Blaze.renderWithData(ourTemplate, data, el);
Tracker.flush();
callback(el);
return view