diff options
Diffstat (limited to 'src/routes/index.tsx')
-rw-r--r-- | src/routes/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 5084473ec..2accd6fb2 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -51,7 +51,7 @@ const tabBarScreenOptions = ({ headerShown: false, tabBarIcon: (_state: {focused: boolean; color: string; size: number}) => { // TODO: icons - return <Text>{route.name.at(0)}</Text> + return <Text>{route.name?.[0] || ''}</Text> }, }) |