import type { MainStackScreenComponentProps } from "@/navigations/Types"; import BeasyLogoIcon from "@components/BeasyLogoIcon"; import Button from "@components/Button"; import GoBackIconButton from "@components/GoBackIconButton"; import BeasyDefaultBackgroundWrapper from "@components/backgrounds/BeasyDefaultBackground"; import Box from "@components/bases/Box"; import Text from "@components/bases/Text"; import CheckIcon from "@components/icons/CheckIcon"; import { LOG } from "@logger"; import { CommonActions } from "@react-navigation/native"; // import { Text } from "react-native"; import { SafeAreaView, useSafeAreaInsets } from "react-native-safe-area-context"; const log = LOG.extend("PaymentResultScreen"); const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen"> = ({ route, navigation, }) => { const insets = useSafeAreaInsets(); log.debug("insets", insets); return ( { navigation.dispatch( CommonActions.reset({ index: 1, routes: [{ name: "appBottomTabsNavigator" }], }), ); }} /> Transactions effectué avec succès !