import './App.css';
import "bootstrap/dist/css/bootstrap.min.css";
import "react-toastify/dist/ReactToastify.css";
import store from "./redux/store";
import Router from "./router";
import { Provider } from "react-redux";
import {ToastContainer} from "react-toastify";

function App() {
  return (
    <Provider store={store}>
      <Router />
      <ToastContainer
          position="top-right"
          autoClose={2000}
          hideProgressBar={true}
          newestOnTop={true}
          closeOnClick
          rtl={true}
          pauseOnFocusLoss
          draggable
          pauseOnHover
        />
    </Provider>
  );
}

export default App;
