Browse Source

Fixing name convention of function

master
GabrielTrettel 3 years ago
parent
commit
480d2f9650
  1. 4
      src/app/navigation/AppNavigator.js

4
src/app/navigation/AppNavigator.js

@ -16,7 +16,7 @@ import colors from "../config/colors";
const Tab = createBottomTabNavigator(); const Tab = createBottomTabNavigator();
const Stack = createStackNavigator(); const Stack = createStackNavigator();
function tabScreens() {
function TabScreens() {
return ( return (
<Tab.Navigator <Tab.Navigator
style={{ backgroundColor: "black" }} style={{ backgroundColor: "black" }}
@ -80,7 +80,7 @@ const AppNavigator = () => (
<Stack.Screen <Stack.Screen
name="tab" name="tab"
options={{ headerShown: false }} options={{ headerShown: false }}
component={tabScreens}
component={TabScreens}
/> />
<Stack.Screen <Stack.Screen

Loading…
Cancel
Save