Skip to content

Commit

Permalink
[remove]:clsx BartoszJarocki#52
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhaw1904 committed Apr 12, 2024
1 parent a91ab5f commit c3be394
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@radix-ui/react-slot": "^1.0.2",
"@vercel/analytics": "^1.1.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"lucide-react": "^0.300.0",
"next": "14.0.4",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";

import { ClassValue } from "class-variance-authority/types";
import { cx } from "class-variance-authority";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
return twMerge(cx(inputs));
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"
integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==

[email protected], clsx@^2.0.0:
[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b"
integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==
Expand Down

0 comments on commit c3be394

Please sign in to comment.