diff --git a/src/App.js b/src/App.js index 6039327..2d7c013 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import LogoMain from "./components/logoMain"; import Footer from "./components/Footer"; import SearchPanel from "./components/SearchPanel"; import SearchResults from "./components/SearchResults"; +import Restaurant from "./components/Restaurant"; import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles"; import { useSelector } from "react-redux"; @@ -25,13 +26,16 @@ function App() {
- + {(appMode === "init" || appMode === "search results") && ( + + )} {appMode === "init" && (

Sprawdź co serwuje Twoja ulubiona restauracja.

)} {appMode === "search results" && } + {appMode === "restaurant" && }