Skip to content

Commit

Permalink
Eslint resolving the tab nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis95Yang committed Feb 28, 2024
1 parent 3dea292 commit 51379b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/navigators/TabBarNavigation/TabNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 51379b8

Please sign in to comment.