import React from 'react'; import ReactDOM from 'react-dom'; import * as serviceWorker from './serviceWorker'; import { BrowserRouter as Router, Route, Redirect, Switch } from 'react-router-dom'; import 'bootstrap'; import 'bootstrap/dist/css/bootstrap.css'; import axios from 'axios'; import { PrivateRoute } from './Components/PrivateRoute'; import Login from './Pages/LoginPage'; import Home from './Pages/HomePage'; import Signup from './Pages/SignupPage'; import Find from './Pages/FindPage'; import Change from './Pages/ChangePage'; import Apply from './Pages/ApplyPage'; import Check from './Pages/CheckPage'; import Notice from './Pages/NoticePage'; import ACheck from './Pages/ACheckPage'; axios.defaults.validateStatus = function (status) { return status < 500; // default } ReactDOM.render( , document.getElementById('root') ); // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. // Learn more about service workers: https://bit.ly/CRA-PWA serviceWorker.unregister();