From 843e6303ee0ca4a5fcc04043f860b5f658ce093b Mon Sep 17 00:00:00 2001 From: Lorenzo Trujillo Date: Tue, 23 Apr 2024 17:28:39 -0600 Subject: [PATCH] =?UTF-8?q?Se=20agreg=C3=B3=20el=20componente=20de=20punto?= =?UTF-8?q?=20de=20actividad=20a=20la=20ruta=20travel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../town/[townId]/activity/[activityId]/travel.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 b5c9f272..e75e4675 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 -- GitLab