Skip to content

Commit

Permalink
get static value if mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
harshdoesdev committed Sep 12, 2023
1 parent f4df5e2 commit 5f61d6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastn-js/js/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f61d6e

Please sign in to comment.