From e71d42335344cbe28efdfefbd09e30c4177ea771 Mon Sep 17 00:00:00 2001 From: Aryan Kumar Date: Wed, 20 Aug 2025 23:23:50 +0530 Subject: [PATCH] fix(utils): correct clsx default import (fixes #19) --- lib/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index b20bf01..5312257 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,8 @@ -import { clsx } from "clsx"; -import { twMerge } from "tailwind-merge" +// Correct default import for clsx (issue #19) +import clsx from "clsx"; +import { twMerge } from "tailwind-merge"; export function cn(...inputs) { + // clsx expects a spread/array; passing rest args directly return twMerge(clsx(inputs)); }