refactored code
This commit is contained in:
1 parent
5ed4c9a8ec
commit
d326361a03
46 files changed
+230
-592
No files matched your search
@@ -588,7 +588,8 @@ export function CardPinForm({ mode, initialData }: CardPinFormProps) {
|
||||
onNext={!isLastStep ? handleNext : undefined}
|
||||
nextLabel={t("common.next", "Indiki")}
|
||||
showSubmit={isLastStep}
|
||||
onSubmit={isLastStep ? handleSubmit : undefined}
|
||||
saveOnEveryStep={mode === "edit"}
|
||||
onSubmit={handleSubmit}
|
||||
submitLabel={
|
||||
mode === "create" ? t("cardPin.createBtn", "Kart pin bukja dörediň") : t("cardPin.editBtn", "Kart pin bukja redaktirläň")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user