From 0cd794abe726f07d7c452536d51fd72730bb5c16 Mon Sep 17 00:00:00 2001 From: Alex Lavaee <57336517+lavaman131@users.noreply.github.com> Date: Mon, 6 Oct 2025 00:34:34 -0700 Subject: [PATCH] added missing lib/utils.ts in devui frontend (#1197) Co-authored-by: Alex Lavaee --- .gitignore | 1 + python/packages/devui/frontend/src/lib/utils.ts | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 python/packages/devui/frontend/src/lib/utils.ts diff --git a/.gitignore b/.gitignore index fef54e78bd..e50f681ec6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ downloads/ eggs/ .eggs/ lib/ +!python/packages/devui/frontend/src/lib/ lib64/ parts/ sdist/ diff --git a/python/packages/devui/frontend/src/lib/utils.ts b/python/packages/devui/frontend/src/lib/utils.ts new file mode 100644 index 0000000000..d084ccade0 --- /dev/null +++ b/python/packages/devui/frontend/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)) +}