Skip to content

Commit

Permalink
Use Array.from for classnames fn
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispuska committed Feb 18, 2024
1 parent 5c1c48f commit 46bbc4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/utils/classnames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export const getClasses = (...args: Array<any>): string => {
}
}

return [...classNames].join(" ")
return Array.from(classNames).join(" ")
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heliosgraphics/utils",
"version": "5.3.0",
"version": "5.3.1",
"private": false,
"type": "module",
"author": "03b8 <[email protected]>",
Expand Down

0 comments on commit 46bbc4b

Please sign in to comment.