From 51379b8932d4a79ac88b10d4d4ea089442524274 Mon Sep 17 00:00:00 2001 From: Louis YANG Date: Wed, 28 Feb 2024 16:40:25 +0100 Subject: [PATCH] Eslint resolving the tab nav --- src/components/navigators/TabBarNavigation/TabNavigator.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/navigators/TabBarNavigation/TabNavigator.tsx b/src/components/navigators/TabBarNavigation/TabNavigator.tsx index 44e4983f..85a5f07a 100644 --- a/src/components/navigators/TabBarNavigation/TabNavigator.tsx +++ b/src/components/navigators/TabBarNavigation/TabNavigator.tsx @@ -86,7 +86,10 @@ const TabNavigator = () => { tabBarIcon: renderIcon('account'), }; } - if (routeName === ACCOUNT_NAVIGATOR_ROUTES.LOGIN || routeName === ACCOUNT_NAVIGATOR_ROUTES.REGISTER) { + if ( + routeName === ACCOUNT_NAVIGATOR_ROUTES.LOGIN || + routeName === ACCOUNT_NAVIGATOR_ROUTES.REGISTER + ) { return { tabBarStyle: { display: 'none',