remove useless code
This commit is contained in:
@@ -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: () => (
|
||||
|
||||
Reference in New Issue
Block a user