diff --git a/src/screens/HomePageWithPaymentOptions.tsx b/src/screens/HomePageWithPaymentOptions.tsx index 16724e3..564cae4 100644 --- a/src/screens/HomePageWithPaymentOptions.tsx +++ b/src/screens/HomePageWithPaymentOptions.tsx @@ -1,5 +1,6 @@ import type { PaymentStackScreenComponentProps } from "@/navigations/Types"; import getPaymentTypes from "@/utils/requests/getPaymentTypes"; +import BalanceContainer from "@components/BalanceContainer"; import BarWithBeasyAndNotificationsIcon from "@components/BarWithBeasyAndNotificationsIcon"; import PaymentOption from "@components/PaymentOption"; import Box from "@components/bases/Box"; @@ -35,59 +36,62 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps<"homePageWith ); return ( - // - - - Types de paiement - - + + + + + + + + Types de paiement + + - - {isLoading && ( - - - Chargement des méthodes de paiement... - - - )} - {!isLoading && - !error && - paymentTypesWithActiveStatus.map((paymentType) => ( - - - navigation.navigate("paymentAmountInputScreen", { - paymentType: paymentType.code, - }) - } - paymentMethod={paymentType.code} - /> - - ))} + + {isLoading && ( + + + Chargement des méthodes de paiement... + + + )} + {!isLoading && + !error && + paymentTypesWithActiveStatus.map((paymentType) => ( + + + navigation.navigate( + "paymentAmountInputScreen", + { + paymentType: paymentType.code, + }, + ) + } + paymentMethod={paymentType.code} + /> + + ))} + - {/* - - */} - // ); };