refactor: transform payload status to number in subscribe plan requests and update type definitions

This commit is contained in:
Ardeman
2025-03-13 07:01:53 +08:00
parent f40f2dadde
commit 6878da0db2
10 changed files with 142 additions and 28 deletions
+2 -1
View File
@@ -63,8 +63,9 @@ export const Input = <TFormValues extends Record<string, unknown>>(
<HeadlessInput
type={inputType}
className={twMerge(
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2 pr-8',
'h-[42px] w-full rounded-md border border-[#DFDFDF] p-2',
className,
type === 'password' ? 'pr-8' : '',
)}
placeholder={inputType === 'password' ? '******' : placeholder}
{...register(name, rules)}