Skip to content

Commit

Permalink
refactor: replace classnames w/ clsx
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Dec 5, 2024
1 parent 48a5071 commit 193399c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/webassembly-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"webpack-merge": "^5.10.0"
},
"dependencies": {
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"console-feed": "^3.6.0",
"jotai": "^2.10.3",
"monaco-editor": "^0.52.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/webassembly-playground/src/ui/Dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useRef, useState, type ReactNode } from "react";
import cx from "classnames";
import cx from "clsx";

type DropdownProps = {
entry: ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion packages/webassembly-playground/src/ui/UtilPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useAtom, useAtomValue } from "jotai";
import cx from "classnames";
import cx from "clsx";
import { Console } from "console-feed";

import {
Expand Down
17 changes: 9 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 193399c

Please sign in to comment.