-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.js
26 lines (25 loc) · 885 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from "react";
import { UserProvider } from "./services/UserContext";
import { ActionSheetProvider } from "@expo/react-native-action-sheet";
import { WorkoutsProvider } from "./services/WorkoutsContext";
import { MealsProvider } from "./services/MealsContext.js";
import { ThemeProvider } from './services/ThemeContext.js';
import MainNavigator from "./navigators/MainNavigator";
import { CurrentMonthProvider } from './components/CurrentMonthContext';
export default function App() {
return (
<CurrentMonthProvider>
<ThemeProvider>
<ActionSheetProvider>
<UserProvider>
<WorkoutsProvider>
<MealsProvider>
<MainNavigator />
</MealsProvider>
</WorkoutsProvider>
</UserProvider>
</ActionSheetProvider>
</ThemeProvider>
</CurrentMonthProvider>
);
}