From eccd9c6a8c120937645295fc934bd74a56629e87 Mon Sep 17 00:00:00 2001 From: sourabh-josh Date: Tue, 24 Sep 2024 21:15:13 +0530 Subject: [PATCH] chore: removed lib from gitignore --- .gitignore | 2 +- app/src/lib/utils.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 app/src/lib/utils.ts diff --git a/.gitignore b/.gitignore index dd9ea17..189b31f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ dist/ downloads/ eggs/ .eggs/ -lib/ +# lib/ lib64/ parts/ sdist/ diff --git a/app/src/lib/utils.ts b/app/src/lib/utils.ts new file mode 100644 index 0000000..365058c --- /dev/null +++ b/app/src/lib/utils.ts @@ -0,0 +1,6 @@ +import { type ClassValue, clsx } from "clsx"; +import { twMerge } from "tailwind-merge"; + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)); +}