Loading mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx +10 −3 Original line number Diff line number Diff line 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 ( <View> <Text>Travel</Text> </View> <ActivityPointScreen stateId={parseInt(rest.stateId)} townId={parseInt(rest.townId)} activityId={parseInt(rest.activityId)} id={parseInt(rest.id)} /> ); } No newline at end of file Loading
mobile/app/state/[stateId]/town/[townId]/activity/[activityId]/travel.tsx +10 −3 Original line number Diff line number Diff line 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 ( <View> <Text>Travel</Text> </View> <ActivityPointScreen stateId={parseInt(rest.stateId)} townId={parseInt(rest.townId)} activityId={parseInt(rest.activityId)} id={parseInt(rest.id)} /> ); } No newline at end of file