fix: add lib/utils.ts for shadcn component imports

STORY:
shadcn/ui components expect @/lib/utils to exist for the cn() helper.
Our project uses src/lib/, but shadcn creates lib/ at root.

COLLABORATION:
Created lib/utils.ts with the cn() function to satisfy shadcn imports.
This coexists with src/lib/utils.ts - both export the same function.

VERIFICATION:
- npm run typecheck: PASS
This commit is contained in:
zenchantlive 2026-02-15 21:22:05 -08:00
parent eb933b6c27
commit 9afa3f7bbd

6
lib/utils.ts Normal file
View file

@ -0,0 +1,6 @@
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}