instamobile / recipes-app-react-native

Recipes App in React Native
https://instamobile.io
MIT License
769 stars 252 forks source link

ReferenceError: AppContainer is not defined #4

Open jp-jsr-group opened 4 years ago

jp-jsr-group commented 4 years ago

After running the app on the browser it shows me this error.

Screen Shot 2020-04-10 at 3 30 31 PM
piscespieces commented 4 years ago

Hello, @jp-jsr-group

in your AppNavigation.js (located in recipes-app-react-native/src/navigations folder), at the bottom of the file you will find in the line 103 the following line as the log in your browser pointed out:

export default AppContainer = createAppContainer(DrawerStack);

Just change it for:

const AppContainer = createAppContainer(DrawerStack);
export default AppContainer;

This will do the trick, however most likely you'll get other kind of error in your console, but the app will work partially