Skip to content

Commit d7e07f3

Browse files
vwongDylanPiercey
authored andcommitted
chore: revert to original code
1 parent dd162ad commit d7e07f3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/runtime-tags/src/dom

packages/runtime-tags/src/dom/dom.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ export function _attr_class(element: Element, value: unknown) {
6262
setAttribute(
6363
element,
6464
"class",
65-
(typeof value === "string"
66-
? value
67-
: toDelimitedString(value, " ", stringifyClassObject)) || undefined,
65+
toDelimitedString(value, " ", stringifyClassObject) || undefined,
6866
);
6967
}
7068

0 commit comments

Comments
 (0)