import React from 'react'; import { View, Text } from 'react-native'; import { useAppTheme } from '@theme'; import { PrimaryButton } from '@components'; import { useAppSelector } from '@store'; import { useNavigation } from '@react-navigation/native'; import { NativeStackNavigationProp } from '@react-navigation/native-stack'; import { AppStackParamList } from '@navigation/navigationTypes'; import { RouteNames } from '@utils/constants'; import { getStyles } from './arrivedAtStoreScreen.styles'; export const ArrivedAtStoreScreen: React.FC = () => { const { colors } = useAppTheme(); const styles = getStyles(colors); const navigation = useNavigation>(); // const activeJob = useAppSelector(state => state.job.activeJob); const { activeDeliveries } = useAppSelector(state => state.deliveries); const handleConfirmArrival = () => { navigation.navigate(RouteNames.ConfirmPickup); }; // if (!activeJob) return null; return ( {/* Map Background Placeholder */} [ Map Placeholder ] {/* Arrived Card */} You've arrived {activeDeliveries?.order?.pickupAddress?.city} {activeDeliveries?.order?.pickupAddress?.addressLine1} ); }; export default ArrivedAtStoreScreen;