summaryrefslogtreecommitdiffstats
path: root/App.js
blob: 8ba4a950da35e05f8b56a1b0798499dfa64a81f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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';

const App = () => {
  return (
    <CartProvider>
      <NavigationContainer>
        <AppNavigator />
      </NavigationContainer>
    </CartProvider>
  );
};

export default App;