From 9962aef7852a0362629e04cbb31ff50cfeb3677d Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Mon, 10 Jun 2024 16:38:15 +0200 Subject: [PATCH] memo for BottomTabBar --- .../createCustomBottomTabNavigator/BottomTabBar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar/index.tsx b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar/index.tsx index 8be79e538ced..9b2e9449c672 100644 --- a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar/index.tsx +++ b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar/index.tsx @@ -1,5 +1,5 @@ import {useNavigation, useNavigationState} from '@react-navigation/native'; -import React, {useCallback, useEffect} from 'react'; +import React, {memo, useCallback, useEffect} from 'react'; import {View} from 'react-native'; import type {OnyxEntry} from 'react-native-onyx'; import {withOnyx} from 'react-native-onyx'; @@ -131,4 +131,4 @@ export default withOnyx