-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
46 lines (40 loc) · 1.03 KB
/
App.js
File metadata and controls
46 lines (40 loc) · 1.03 KB
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
41
42
43
44
45
46
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
} from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import 'react-native-gesture-handler';
import { LoginStack } from "./AppNav";
import AuthLoading from "./AuthLoading";
import { configureStore } from "@reduxjs/toolkit";
import appReducers from "./src/redux/slices";
import { Provider } from "react-redux";
import store from "./src/redux/store"
import RoomSocketProvider, { RoomSocketContext } from "./src/provider/RoomSocketProvider";
const App: () => React$Node = () => {
return (
<>
<Provider store={store}>
<RoomSocketProvider>
<NavigationContainer>
<StatusBar barStyle="dark-content" />
<AuthLoading></AuthLoading>
</NavigationContainer>
</RoomSocketProvider>
</Provider>
</>
);
};
export default App;