From b842e0ff7cb9395243c1f189904c9af53fd86709 Mon Sep 17 00:00:00 2001 From: balogunofafrica Date: Thu, 16 May 2024 13:16:05 +0100 Subject: [PATCH] fix schema error for amount input --- src/quo/components/wallet/amount_input/schema.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/quo/components/wallet/amount_input/schema.cljs b/src/quo/components/wallet/amount_input/schema.cljs index 8a57a9939b83..394cdc65dae3 100644 --- a/src/quo/components/wallet/amount_input/schema.cljs +++ b/src/quo/components/wallet/amount_input/schema.cljs @@ -6,7 +6,8 @@ [:props [:map {:closed true} [:status {:optional true} [:maybe [:enum :default :error]]] - [:on-change-text {:optional true} [:maybe fn?]] + [:on-inc-press {:optional true} [:maybe fn?]] + [:on-dec-press {:optional true} [:maybe fn?]] [:container-style {:optional true} [:maybe :map]] [:min-value {:optional true} [:maybe :int]] [:max-value {:optional true} [:maybe :int]]