We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb51bd3 commit 2fd28f8Copy full SHA for 2fd28f8
frontend/package.json
@@ -12,9 +12,11 @@
12
"dependencies": {
13
"@tanstack/react-query": "^5.59.19",
14
"autoprefixer": "^10.4.20",
15
+ "clsx": "^2.1.1",
16
"postcss": "^8.4.47",
17
"react": "^18.3.1",
18
"react-dom": "^18.3.1",
19
+ "tailwind-merge": "^2.5.4",
20
"tailwindcss": "^3.4.14",
21
"zustand": "^5.0.1"
22
},
frontend/src/lib/utils.ts
@@ -0,0 +1,6 @@
1
+import { clsx, type ClassValue } from "clsx";
2
+import { twMerge } from "tailwind-merge";
3
+
4
+export function cn(...inputs: ClassValue[]) {
5
+ return twMerge(clsx(inputs));
6
+}
0 commit comments