Skip to content

Commit 6f9d871

Browse files
chore: change cssVarText to const
1 parent 0f654f6 commit 6f9d871

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime-dom/src/modules

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/modules/style.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function patchStyle(el: Element, prev: Style, next: Style) {
2424
if (isCssString) {
2525
if (prev !== next) {
2626
// #9821
27-
let cssVarText = (style as any)[CSS_VAR_TEXT]
27+
const cssVarText = (style as any)[CSS_VAR_TEXT]
2828
if (cssVarText) {
2929
;(next as string) += ';' + cssVarText
3030
}

0 commit comments

Comments
 (0)