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

@@ -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äň")
}