update credit card mask

This commit is contained in:
2025-12-27 18:43:08 -03:00
parent d0dcc0a953
commit 976a7da0a9
10 changed files with 268 additions and 93 deletions

View File

@@ -72,6 +72,8 @@ export function Discount({ onChange, ...props }: DiscountProps) {
discount_type: 'FIXED' | 'PERCENT'
}
console.log(code)
onChange?.({ code, amount, type })
reset()