web client v0.9 (restaurant view)

This commit is contained in:
2020-10-04 17:24:36 +02:00
parent 21ea3f821e
commit b3ade3de7d
15 changed files with 456 additions and 36 deletions

View File

@@ -78,7 +78,6 @@ export const fetchRestaurant = (id) => {
.then((response) => {
dispatch(setRestaurant(response.data));
dispatch(toggles.hideDishes());
dispatch(push("/restaurant"));
dispatch(fetchAllDishes(id));
})
.catch((err) =>