diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-10-16 17:25:24 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-10-16 17:25:24 +0530 |
commit | d7cff4d9e51b1a8e795bd66f7f6696664bd66787 (patch) | |
tree | b21eca9116787af9e1b828e01a02e93f523776ec | |
parent | 2ffdb4d5697295443f926983c33b6ca4aa44bab6 (diff) | |
download | mall-app-d7cff4d9e51b1a8e795bd66f7f6696664bd66787.tar.gz mall-app-d7cff4d9e51b1a8e795bd66f7f6696664bd66787.tar.bz2 mall-app-d7cff4d9e51b1a8e795bd66f7f6696664bd66787.zip |
App.js fixed
-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; + |