diff --git a/src/pswui/lib/vcn.ts b/src/pswui/lib/vcn.ts index d314915..e829f73 100644 --- a/src/pswui/lib/vcn.ts +++ b/src/pswui/lib/vcn.ts @@ -270,6 +270,7 @@ export function vcn< for (const [variantName, variantKey] of Object.entries( otherVariantProps, ) as VariantKVEntry) { + if (typeof variantKey === "undefined") continue; kv[variantName] = variantKey; }