Skip to content
Permalink
6eb3472a15
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
18 lines (15 sloc) 479 Bytes
import React from "react";
import {Route, BrowserRouter as Router} from "react-router-dom";
import Dashboard from "../Dashboard";
import Login from "../Login";
import MapView from "../MapView";
export const AppRouter = () => (
<Router>
<div>
<Route path="/" exact component={Login}/>
<Route path="/dashboard" exact component={Dashboard}/>
<Route path="/map" exact component={MapView}/>
</div>
</Router>
);
export default AppRouter;