From 35959233f6063c6e799f91c80bc11d78a2101c2f Mon Sep 17 00:00:00 2001 From: p-sw Date: Tue, 21 May 2024 19:37:12 +0900 Subject: [PATCH] refactor: omit undefined in preset --- packages/react/shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/shared.ts b/packages/react/shared.ts index 7a181de..a4d291d 100644 --- a/packages/react/shared.ts +++ b/packages/react/shared.ts @@ -94,7 +94,7 @@ export function vcn({ ( variantProps: Partial> & { className?: string; - preset?: N | undefined; + preset?: N; } ) => string, >(