aboutsummaryrefslogtreecommitdiffstats
path: root/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'App.js')
-rw-r--r--App.js15
1 files changed, 9 insertions, 6 deletions
diff --git a/App.js b/App.js
index 89934ec..8ba4a95 100644
--- a/App.js
+++ b/App.js
@@ -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;
+