diff options
Diffstat (limited to 'App.js')
-rw-r--r-- | App.js | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,9 +1,9 @@ -import React form 'react'; -import { NavigationContainer } from '@react-navigation/native' -import AppNavigator from './src/navigation/AppNavigator.js' -import { CartProvider } from './src/context/CartContext.js' +import React from 'react'; // Corrected 'form' to 'from' +import { NavigationContainer } from '@react-navigation/native'; +import AppNavigator from './src/navigation/AppNavigator.js'; +import { CartProvider } from './src/context/CartContext.js'; -export default function App() { +const App = () => { return ( <CartProvider> <NavigationContainer> @@ -11,4 +11,7 @@ export default function App() { </NavigationContainer> </CartProvider> ); -} +}; + +export default App; + |