text: import React from "react";
  import { Route, Switch } from "react-router-dom";
  import Home from "./containers/Home";
  import Notes from "./containers/Notes";
  import Login from "./containers/Login";
  import Signup from "./containers/Signup";
  import NewNote from "./containers/NewNote";
  import NotFound from "./containers/NotFound";
  import AppliedRoute from "./components/AppliedRoute";
  import AuthenticatedRoute from "./components/AuthenticatedRoute";
  import UnauthenticatedRoute from "./components/UnauthenticatedRoute";
  import Settings from "./containers/Settings";
  import MapLocation from "./components/MapLocation";
  
  export default ({ childProps }) =>
  <Switch>
    <AppliedRoute path="/" exact component={Home} props={childProps} />
    <UnauthenticatedRoute path="/login" exact component={Login} props={childProps} />
    <UnauthenticatedRoute path="/signup" exact component={Signup} props={childProps} />
    <AuthenticatedRoute path="/settings" exact component={Settings} props={childProps} />
    <AuthenticatedRoute path="/events/new" exact component={NewNote} props={childProps} />
    <AuthenticatedRoute path="/events/:id" exact component={Notes} props={childProps} />
    { /* Finally, catch all unmatched routes */ }
    <Route component={NotFound} />
  </Switch>
  