fixed some params and ui

This commit is contained in:
Jelaletdin12
2026-08-25 22:58:08 +05:00
parent f00d2abcac
commit f293806d96
25 changed files with 547 additions and 87 deletions

View File

@@ -423,7 +423,7 @@ function StepPayment({ form, errors, set, t }: StepContentProps) {
);
}
function StepDocs({ form, set, errors }: StepContentProps) {
function StepDocs({ form, set, errors, t }: StepContentProps) {
return (
<BentoGrid cols={2}>
<BentoCard>
@@ -431,7 +431,7 @@ function StepDocs({ form, set, errors }: StepContentProps) {
{KABUL_DOCS.map(({ key, label }) => (
<DocumentUpload
key={key}
label={label}
label={t(`intlPaymentForm.docs.${key}`, label)}
value={(form[key] as string) || ""}
onChange={(v) => set(key, v as IntlPaymentFormData[typeof key])}
error={errors[key]}
@@ -445,7 +445,7 @@ function StepDocs({ form, set, errors }: StepContentProps) {
{UPGRAD_DOCS.map(({ key, label }) => (
<DocumentUpload
key={key}
label={label}
label={t(`intlPaymentForm.docs.${key}`, label)}
value={(form[key] as string) || ""}
onChange={(v) => set(key, v as IntlPaymentFormData[typeof key])}
error={errors[key]}