Fix nested routes

This commit is contained in:
Barry Low committed 2018-10-17 00:57:38 -07:00
1 parent 1eacf1fbee
commit f7a9ef5711
4 files changed
+9 -12

No files matched your search

+1 -4
View File
@@ -1,5 +1,5 @@
import { ApolloProvider } from 'react-apollo'
import React, { Component } from 'react'
import React from 'react'
import { Route, BrowserRouter, Switch } from 'react-router-dom'
import { hot } from 'react-hot-loader'
@@ -39,17 +39,14 @@ export const MasterApp = () => (
}}
/>
<Route
exact
path='/teams'
render={props => <Teams {...props} auth={auth} />}
/>
<Route
exact
path='/keys'
render={props => <KeyVault {...props} />}
/>
<Route
exact
path='/users'
render={props => <Users {...props} auth={auth} />}
/>