refactored code
This commit is contained in:
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"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user