-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
40 lines (36 loc) · 821 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import "react-native-gesture-handler";
import {
useFonts,
Inter_900Black,
Inter_700Bold,
Inter_600SemiBold,
Inter_500Medium,
Inter_400Regular,
Inter_300Light,
} from "@expo-google-fonts/inter";
import Route from "./navigation/home";
import { Provider } from "react-redux";
import store from "./redux/store";
import { SaveForLaterProvider } from "./contexts/SaveForLaterContext";
import "expo-dev-client";
function App() {
let [fontsLoaded] = useFonts({
Inter_900Black,
Inter_700Bold,
Inter_600SemiBold,
Inter_500Medium,
Inter_400Regular,
Inter_300Light,
});
if (!fontsLoaded) {
return null;
}
return (
<Provider store={store}>
<SaveForLaterProvider>
<Route />
</SaveForLaterProvider>
</Provider>
);
}
export default App;