From b7a90ce768d193e833608e0ecb7ae1ccf81a424d Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Thu, 4 Jul 2024 17:40:59 -0600 Subject: [PATCH] fix(autogpt_builder): Unignore `lib/` and add `lib/utils.ts` --- .gitignore | 1 - rnd/autogpt_builder/src/lib/utils.ts | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 rnd/autogpt_builder/src/lib/utils.ts diff --git a/.gitignore b/.gitignore index d7a9964ec..539c89ad9 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,6 @@ dist/ downloads/ eggs/ .eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/rnd/autogpt_builder/src/lib/utils.ts b/rnd/autogpt_builder/src/lib/utils.ts new file mode 100644 index 000000000..d084ccade --- /dev/null +++ b/rnd/autogpt_builder/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)) +}