remove useless code

This commit is contained in:
2021-11-29 14:40:29 +01:00
parent c4c82c23f8
commit 36e9f81818

View File

@@ -17,9 +17,6 @@ import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { useNavigation } from '@react-navigation/core';
import { useSelector } from 'react-redux';
const MyTheme = {
dark: true,
@@ -31,7 +28,6 @@ const MyTheme = {
const Stack = createNativeStackNavigator();
function App() {
const statusRecipes = useSelector(state => state.recipes.status)
return (
<NavigationContainer theme={MyTheme}>
<Stack.Navigator screenOptions={{
@@ -50,9 +46,7 @@ function App() {
onPress={() => navigation.goBack()}
>
</MaterialCommunityIcons>)}
}}
options={{
}}>
}}>
<Stack.Screen name="Home" component={HomePage} options={{
headerLeft: () => (