From 5f61d6e0c5d601f6c8bc19bb81190acb3d426de8 Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Tue, 12 Sep 2023 13:45:56 +0530 Subject: [PATCH] get static value if mutable --- fastn-js/js/dom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fastn-js/js/dom.js b/fastn-js/js/dom.js index cfeb160700..2c7d375c5c 100644 --- a/fastn-js/js/dom.js +++ b/fastn-js/js/dom.js @@ -1771,6 +1771,7 @@ class Node2 { if (!ssr) { fastn_utils.addCodeTheme(staticValue); } + staticValue = fastn_utils.getStaticValue(staticValue); let theme = staticValue.replace("\.", "-"); this.#extraData.code = this.#extraData.code ? this.#extraData.code : {}; if (this.#extraData.code.theme !== theme) {