diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-07-07 15:07:18 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-07-09 15:56:35 -0400 |
| commit | f39a320fd9e07750c8fcf7cc1882f21324a0ce58 (patch) | |
| tree | bd1bd547011a751d74e4925f969d13055c023e92 /src/routes | |
| parent | a33896aab969ee0c6678ab562ff2aeef25657c7c (diff) | |
Fix navigation error handling
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/tabs/NavigationBar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/tabs/NavigationBar.tsx b/src/routes/tabs/NavigationBar.tsx index 12f6ab58..c3f0b9f8 100644 --- a/src/routes/tabs/NavigationBar.tsx +++ b/src/routes/tabs/NavigationBar.tsx @@ -66,7 +66,7 @@ const NavigationBar: React.FC = () => { disabled={!focused} /> ); - case 'Profile': + case 'ProfileTab': return <NavigationIcon tab="Profile" disabled={!focused} />; case 'SuggestedPeople': return ( @@ -118,7 +118,7 @@ const NavigationBar: React.FC = () => { }} /> <Tabs.Screen - name="Profile" + name="ProfileTab" component={MainStackScreen} initialParams={{screenType: ScreenType.Profile}} /> |
