Created
December 8, 2018 15:48
-
-
Save oshell/c6126f5416e3f9f3490ba66df84489dd to your computer and use it in GitHub Desktop.
App.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { Container } from 'semantic-ui-react' | |
| import RestaurantList from '../../container/RestaurantList/RestaurantList'; | |
| import SearchBar from '../SearchBar/SearchBar'; | |
| import { Provider } from 'react-redux'; | |
| import { store } from '../../store'; | |
| const App = () => { | |
| return( | |
| <Provider store={store}> | |
| <Container> | |
| <SearchBar /> | |
| <RestaurantList /> | |
| </Container> | |
| </Provider> | |
| ); | |
| } | |
| export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment