Skip to content

Commit

Permalink
Merge pull request #404 from vadim9999/master
Browse files Browse the repository at this point in the history
update Header
  • Loading branch information
vadim9999 authored Jun 24, 2019
2 parents 909269a + b4b89cf commit f5f5a25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
},
"private": true,
"dependencies": {
"@groceristar/antd-showcase-components": "1.0.43",
"@groceristar/antd-showcase-components": "^1.0.47",
"@groceristar/cards-wrapper": "1.0.21",
"@groceristar/groceristar-fetch": "2.2.0",
"@groceristar/grocery-component": "1.0.10",
"@groceristar/pdf-export": "1.2.0",
"@groceristar/pdf-export": "^1.2.2",
"@react-pdf/renderer": "1.6.2",
"antd": "3.19.6",
"axios": "0.19.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class App extends Component {

<Fragment>

{/*<Router />*/}
{/* <Router /> */}
</Fragment>

);
Expand Down
3 changes: 2 additions & 1 deletion src/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import ManageGroceryView from './views/ManageGroceryView'


import AntdLayout from './layouts/GroceryList/AntdLayout'

import {Header} from '@groceristar/antd-showcase-components'
import CleanLayout from './layouts/GroceryList/CleanLayout'

// @TODO later it'll have a config version
Expand All @@ -45,6 +45,7 @@ class Router extends Component {


<BrowserRouter>
<Header />
<Switch>

<Route path="/" exact component={HomeView} />
Expand Down
6 changes: 3 additions & 3 deletions src/views/HomeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,16 @@ class HomeView extends Component {

return (
<div className="main">
<Menu />
{/* <Menu /> */}

<HeaderShowcase
{/* <HeaderShowcase
{...this.state}
search={this.search}
shuffle={this.shuffle}
setColumns={this.setColumns}
setMargin={this.setMargin}
setHeight={this.setHeight}
/>
/> */}

{this.getGrid()}
</div>
Expand Down

0 comments on commit f5f5a25

Please sign in to comment.