From 5bcfd15e745a2e89ba06a44b8eb7eb19ee9df4fc Mon Sep 17 00:00:00 2001 From: Benjamin Guedj Date: Mon, 18 Dec 2023 11:50:22 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Corrige=20la=20navigation?= =?UTF-8?q?=20vers=20les=20articles=20depuis=20calendar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/navigation/BottomTabNavigator.tsx | 7 ++++--- front/src/types.tsx | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/front/src/navigation/BottomTabNavigator.tsx b/front/src/navigation/BottomTabNavigator.tsx index 6ec08871f..977b7c601 100644 --- a/front/src/navigation/BottomTabNavigator.tsx +++ b/front/src/navigation/BottomTabNavigator.tsx @@ -147,7 +147,8 @@ const TabCalendarNavigator: FC = () => ( /> - + + ); @@ -160,7 +161,7 @@ const TabSurveysNavigator: FC = () => ( component={TabSurveysScreen} options={{}} /> - + ); @@ -176,7 +177,7 @@ const TabSearchNavigator: FC = () => ( name="aroundMeMapAndList" component={AroundMeMapAndList} /> - + ); diff --git a/front/src/types.tsx b/front/src/types.tsx index 7aa722c4a..1c1e04797 100644 --- a/front/src/types.tsx +++ b/front/src/types.tsx @@ -46,11 +46,14 @@ export type TabCalendarParamList = { tabCalendarScreen: undefined; eventDetails: { eventId: string }; article: { id: number; step?: Step }; + articleSwipe: undefined; + parentheque: { documents?: Document[] }; aroundMeScreen: undefined; }; export type TabSurveysParamList = { tabSurveysScreen: undefined; + parentheque: { documents?: Document[] }; }; export type TabAroundMeParamList = { @@ -63,6 +66,7 @@ export type TabSearchParamList = { coordinates: LatLng; displayUserLocation: boolean; }; + parentheque: { documents?: Document[] }; }; export type ArticleSwipeRouteParamList = {