text: import React from 'react';
  import {BrowserRouter, Route, Switch} from 'react-router-dom'
  import Header from '../components/Header';
  import Footer from '../components/Footer';
  import Dashboard from '../components/Dashboard';
  
  const AppRouter = () => (
    <BrowserRouter>
    <div>
      <Header />
      <Switch>
      <Route path="/" component={Dashboard} exact={true}/>
      </Switch>
      <Footer />
    </div>
    
    </BrowserRouter>
  )
  export default AppRouter;