Browse Source

FIX: entries is a function of a map

dev-feat-component_preview
chris 2 months ago
parent
commit
27cc2d930d
  1. 2
      src/context/scriptAndStyleContext.js

2
src/context/scriptAndStyleContext.js

@ -174,7 +174,7 @@ class ScriptAndStyleContext {
if (this.#functions.size > 0) {
let funcTag = document.createElement('script');
for (const tuple of this.#functions.entries) {
for (const tuple of this.#functions.entries()) {
let regName = tuple[0];
let fsb = tuple[1];
funcTag.innerText += getScriptTagInjectionText(fsb.func, regName);

Loading…
Cancel
Save