import Ridelayout from "@/components/RideLayout"; import { icons } from "@/constants"; import { useLocationStore } from "@/store"; import { Text, View } from "react-native"; import tw from "twrnc"; import GoogleTextInput from "@/components/GoogleTextInput"; import CustomButton from "@/components/CustomButton"; import { router } from "expo-router"; const FindRide=() => { const {userAddress,destinationAddress,setDestinationLocation,setUserLocation,} = useLocationStore(); return( From setUserLocation(location)} /> To setDestinationLocation(location)} /> router.push("/(root)/confirm-ride")} style={tw`mt-5`} /> ) } export default FindRide;