import React from 'react' import { Redirect, Route, Switch } from 'react-router-dom' import './App.css' // import Admin from './Admin' import Activity from './Activity' import Activities from './Activities' import Dashboard from './Dashboard' import Footer from './Footer' import Logout from './User/Logout' import NavBar from './NavBar' import NotFound from './Others/NotFound' import Profile from './User/Profile' import ProfileEdit from './User/ProfileEdit' import Statistics from './Statistics' import UserForm from './User/UserForm' import { isLoggedIn } from '../utils' export default class App extends React.Component { constructor(props) { super(props) this.props = props } render() { return (