Skip to content

Commit dfd20ec

Browse files
committedMay 18, 2024·
remove tw merge
1 parent f7b1cab commit dfd20ec

File tree

5 files changed

+27
-44
lines changed

5 files changed

+27
-44
lines changed
 

‎apps/web/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
"solid-sonner": "^0.2.6",
7878
"stripe": "^15.3.0",
7979
"superjson": "^2.2.1",
80-
"tailwind-merge": "^2.3.0",
8180
"tailwindcss": "^3.4.3",
8281
"ts-pattern": "^5.1.1",
8382
"vinxi": "=0.3.10",

‎apps/web/src/lib/utils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { twMerge } from "tailwind-merge";
21
import type { ClassValue } from "clsx";
32
import { clsx } from "clsx";
43
import type { CreateQueryResult } from "@tanstack/solid-query";
@@ -8,7 +7,7 @@ import { useNavigate } from "@solidjs/router";
87
import { trpc } from "./trpc";
98

109
export function cn(...inputs: ClassValue[]) {
11-
return twMerge(clsx(inputs));
10+
return clsx(inputs);
1211
}
1312

1413
export function createNotFoundRedirect<T>(props: {

‎packages/ui/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"class-variance-authority": "^0.7.0",
2525
"clsx": "^2.1.0",
2626
"solid-js": "^1.8.16",
27-
"tailwind-merge": "^2.3.0",
2827
"zod": "^3.22.5"
2928
},
3029
"devDependencies": {

‎packages/ui/src/lib/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { type ClassValue, clsx } from "clsx";
2-
import { twMerge } from "tailwind-merge";
32

43
export function cn(...inputs: ClassValue[]) {
5-
return twMerge(clsx(inputs));
4+
return clsx(inputs);
65
}
76

87
export * from "./contentEditable";

‎pnpm-lock.yaml

+25-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.