Skip to content

Commit

Permalink
fix(standard): ignore examples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandszoke authored and solkimicreb committed Feb 7, 2020
1 parent e666c05 commit ccd1946
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/beer-finder/src/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import React from 'react'
import { view } from 'react-easy-state'
import SearchBar from 'material-ui-search-bar'
import LinearProgress from '@material-ui/core/LinearProgress'
import { fetchBeers as handleOnRequestSearch, isLoading } from './appStore'
import appStore from './appStore'

// this is re-rendered whenever the relevant parts of the used data stores change
export default view(() => (
<div className='searchbar'>
<SearchBar
onRequestSearch={handleOnRequestSearch}
onRequestSearch={appStore.fetchBeers}
placeholder='Add some food ...'
autoFocus
/>
{isLoading && <LinearProgress />}
{appStore.isLoading && <LinearProgress />}
</div>
))
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
],
"ignore": [
"**/build/**",
"**/node_modules/**"
"**/node_modules/**",
"examples/**"
]
},
"pre-push": [
Expand Down

0 comments on commit ccd1946

Please sign in to comment.