From 117e81b5cba46cd37fb29d0e00495e6735e7e584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Mon, 18 Jul 2022 01:14:28 +0400 Subject: [PATCH] Change payment method order & add new asso link --- components/soutyen/payment-method.js | 44 ++++++++++++++-------------- pages/index.js | 11 +++++-- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/components/soutyen/payment-method.js b/components/soutyen/payment-method.js index aa76ac9..32f4834 100644 --- a/components/soutyen/payment-method.js +++ b/components/soutyen/payment-method.js @@ -79,12 +79,31 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho - + - + + + + + + + + + + + + + + @@ -106,7 +125,7 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho setError={setError} isLoading={isLoading} > - {clientSecret && validMontant && paymentMethod === 0 && ( + {clientSecret && validMontant && paymentMethod === 2 && ( - - - - - - - - - - - - - ) } diff --git a/pages/index.js b/pages/index.js index fd0bc9b..edc1747 100644 --- a/pages/index.js +++ b/pages/index.js @@ -70,9 +70,16 @@ export default function Home({errorCode, errorMessage, stats}) { - + + + +