Skip to content

Commit

Permalink
memo for BottomTabBar
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Jun 11, 2024
1 parent 2282810 commit 9962aef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -131,4 +131,4 @@ export default withOnyx<PurposeForUsingExpensifyModalProps, PurposeForUsingExpen
isLoadingApp: {
key: ONYXKEYS.IS_LOADING_APP,
},
})(BottomTabBar);
})(memo(BottomTabBar));

0 comments on commit 9962aef

Please sign in to comment.