From 36e9f8181848ef7660fd71a5141a870440f84b14 Mon Sep 17 00:00:00 2001 From: Wolf Date: Mon, 29 Nov 2021 14:40:29 +0100 Subject: [PATCH] remove useless code --- src/App.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/App.js b/src/App.js index 8989465..db4bd15 100644 --- a/src/App.js +++ b/src/App.js @@ -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 ( navigation.goBack()} > )} - }} - options={{ - }}> + }}> (