Skip to content

Commit 337da8e

Browse files
committed
Update MainTabs.navigator.tsx
1 parent 26263d7 commit 337da8e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

apps/box/src/navigation/MainTabs.navigator.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
FxBottomSheetModalMethods,
55
FxArrowUpIcon,
66
useFxTheme,
7+
FxScanCodeIcon,
78
} from '@functionland/component-library';
89
import { createNativeStackNavigator } from '@react-navigation/native-stack';
910
import { BloxScreen } from '../screens/Blox/Blox.screen';
@@ -245,16 +246,9 @@ export const MainTabsNavigator = () => {
245246
name={Routes.ChatAITab}
246247
component={ChatAIScreen}
247248
options={{
248-
tabBarIcon: ({ color }) => (
249-
<SvgUri
250-
uri="https://raw.githubusercontent.com/functionland/fx-components/main/apps/box/assets/icons/chatai-icon.svg"
251-
width={24}
252-
height={24}
253-
fill={color}
254-
style={{ alignSelf: 'center', padding: 0, margin: 0 }}
255-
/>
256-
),
257-
tabBarLabel: 'ChatAI',
249+
// eslint-disable-next-line react/no-unstable-nested-components
250+
tabBarIcon: ({ color }) => <FxScanCodeIcon fill={color} />,
251+
tabBarLabel: 'Loyal Agent',
258252
}}
259253
/>
260254
<MainTabs.Screen

0 commit comments

Comments
 (0)