-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathApp.js
More file actions
26 lines (22 loc) · 658 Bytes
/
App.js
File metadata and controls
26 lines (22 loc) · 658 Bytes
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, { PureComponent } from "react";
import { ConfigProvider } from "antd";
import zhCN from "antd/es/locale/zh_CN";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/es/integration/react";
import store, { persistor } from "./store";
import Router from "./router";
import "./styles/format.less";
class App extends PureComponent {
render() {
return (
<ConfigProvider locale={zhCN}>
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<Router />
</PersistGate>
</Provider>
</ConfigProvider>
);
}
}
export default App;