diff --git a/src/screens/WaveQrCodePaymentScreen.tsx b/src/screens/WaveQrCodePaymentScreen.tsx index b9dbc02..8330a21 100644 --- a/src/screens/WaveQrCodePaymentScreen.tsx +++ b/src/screens/WaveQrCodePaymentScreen.tsx @@ -1,7 +1,9 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types"; +import Button from "@components/Button"; import BackgroundWithBeasyIconAndWhiteContentArea from "@components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; +import useWave from "@hooks/useWave"; import { LOG } from "@logger"; import { Dimensions } from "react-native"; // biome-ignore lint/style/useNamingConvention: @@ -13,10 +15,9 @@ const WaveQrCodePaymentScreen: MainStackScreenComponentProps<"waveQrCodePaymentS route, navigation, }) => { - const paymentUrl = route.params?.paymentUrl ?? ""; - console.log("paymentUrl", paymentUrl); + const data = route.params.data; const windowWidth = Dimensions.get("window").width; - // const sixtyPercentHeight = window * 0.5; + const { handlePaymentVerification } = useWave(); return ( @@ -54,12 +55,20 @@ const WaveQrCodePaymentScreen: MainStackScreenComponentProps<"waveQrCodePaymentS mb={"l"} > Veuillez scanner le QR Code pour terminer le paiement + +