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.
30 lines
693 B
30 lines
693 B
import "./App.scss"; |
|
import { Provider } from "react-redux"; |
|
import { ToastContainer } from "react-toastify"; |
|
import "react-toastify/dist/ReactToastify.css"; |
|
import "react-modern-drawer/dist/index.css"; |
|
import store from "./redux/store"; |
|
import Router from "./router"; |
|
|
|
function App({theme}) { |
|
return ( |
|
<Provider store={store}> |
|
<Router /> |
|
<ToastContainer |
|
position="top-right" |
|
theme="colored" |
|
autoClose={4000} |
|
hideProgressBar={true} |
|
newestOnTop={true} |
|
closeOnClick |
|
rtl={true} |
|
pauseOnFocusLoss |
|
draggable |
|
pauseOnHover |
|
/> |
|
</Provider> |
|
); |
|
} |
|
|
|
|
|
export default App;
|
|
|