web client v0.7 (edit dish / visibility / delete/ routes)
This commit is contained in:
@@ -22,6 +22,7 @@ import Contact from "./components/Output/Contact";
|
||||
import Settings from "./components/Dialogs/Settings";
|
||||
import EditRestaurant from "./components/Dialogs/EditRestaurant";
|
||||
import NewDish from "./components/Dialogs/NewDish";
|
||||
import EditDish from "./components/Dialogs/EditDish";
|
||||
|
||||
const theme = createMuiTheme({
|
||||
palette: {
|
||||
@@ -73,7 +74,7 @@ function App(props) {
|
||||
path="/newDish/:restaurantID"
|
||||
component={<NewDish />}
|
||||
/>
|
||||
<Route path="/dish">
|
||||
<Route path="/dish/:id">
|
||||
<LogoMain />
|
||||
</Route>
|
||||
<Route path="/login">
|
||||
@@ -94,6 +95,7 @@ function App(props) {
|
||||
path="/editRestaurant/:id"
|
||||
component={<EditRestaurant />}
|
||||
/>
|
||||
<PrivateRoute path="/editDish/:id" component={<EditDish />} />
|
||||
<Route path="/forgotpassword">
|
||||
<ForgotPassword />
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user