web client v0.6 (add dish)
This commit is contained in:
@@ -21,6 +21,7 @@ import ResetPassword from "./components/Dialogs/ResetPassword";
|
||||
import Contact from "./components/Output/Contact";
|
||||
import Settings from "./components/Dialogs/Settings";
|
||||
import EditRestaurant from "./components/Dialogs/EditRestaurant";
|
||||
import NewDish from "./components/Dialogs/NewDish";
|
||||
|
||||
const theme = createMuiTheme({
|
||||
palette: {
|
||||
@@ -68,6 +69,10 @@ function App(props) {
|
||||
<Route path="/restaurant/:id">
|
||||
<Restaurant />
|
||||
</Route>
|
||||
<PrivateRoute
|
||||
path="/newDish/:restaurantID"
|
||||
component={<NewDish />}
|
||||
/>
|
||||
<Route path="/dish">
|
||||
<LogoMain />
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user