From d7cff4d9e51b1a8e795bd66f7f6696664bd66787 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Wed, 16 Oct 2024 17:25:24 +0530 Subject: App.js fixed --- App.js | 15 +++++++++------ 1 file 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 ( @@ -11,4 +11,7 @@ export default function App() { ); -} +}; + +export default App; + -- cgit v1.2.3-59-g8ed1b