diff --git a/mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx b/mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx index b5c9f27212b4bb504ea98296d52e328237efcd79..e75e46755d133a5e9777374443566c2cbf536b5f 100644 --- a/mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx +++ b/mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx @@ -1,9 +1,16 @@ +import { useLocalSearchParams } from "expo-router"; import { View, Text } from "react-native"; +import { ActivityPointScreen } from "../../../../../../../src/screens/activity_point/activity_point"; + export default function Travel() { + const { ...rest } = useLocalSearchParams<{ stateId: string, townId: string, activityId: string, id: string }>(); + + if (!rest.stateId || !rest.townId || !rest.activityId || !rest.id) { + return null; + } + return ( - - Travel - + ); } \ No newline at end of file