You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React, { Component, lazy, Suspense } from "react";
|
|
|
|
|
|
|
|
import Router from "./router.js";
|
|
|
|
import { Provider } from "react-redux";
|
|
|
|
import store from "./redux/store";
|
|
|
|
import "./App.scss";
|
|
|
|
|
|
|
|
// import "rc-slider/assets/index.css";
|
|
|
|
// import "react-circular-progressbar/dist/styles.css";
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Suspense fallback={<div>Loading...</div>}>
|
|
|
|
<Provider store={store}>
|
|
|
|
<Router />
|
|
|
|
</Provider>
|
|
|
|
</Suspense>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|