refactor: simplify registration of handlebars partials
This commit is contained in:
parent
0bbfdaf381
commit
9eaae536f2
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
export default function registerHandlebarsHelpers(): void {
|
||||
Object.entries(helpers).forEach(([key, helper]) => Handlebars.registerHelper(key, helper));
|
||||
Handlebars.registerHelper(helpers);
|
||||
}
|
||||
|
||||
const helpers = {
|
||||
|
|
Loading…
Reference in a new issue