refactored code

This commit is contained in:
Jelaletdin12 committed 2026-09-04 21:26:59 +05:00
1 parent 5ed4c9a8ec
commit d326361a03
46 files changed
+230 -592

No files matched your search

@@ -485,7 +485,8 @@ export function BranchForm({ mode, initialData }: BranchFormProps) {
onPrev={currentStep > 0 ? handleBack : undefined}
onNext={!isLastStep ? handleNext : undefined}
showSubmit={isLastStep}
onSubmit={isLastStep ? doSubmit : undefined}
saveOnEveryStep={mode === "edit"}
onSubmit={doSubmit}
submitLabel={mode === "create" ? t("branches.actions.create", "Şahamça döret") : t("branches.actions.update", "Täzelemek")}
className="px-5 py-3.5 border-t border-border bg-muted/30"
/>