Skip to content

Commit ccd1946

Browse files
rolandszokesolkimicreb
authored andcommitted
fix(standard): ignore examples folder
1 parent e666c05 commit ccd1946

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/beer-finder/src/NavBar.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import React from 'react'
22
import { view } from 'react-easy-state'
33
import SearchBar from 'material-ui-search-bar'
44
import LinearProgress from '@material-ui/core/LinearProgress'
5-
import { fetchBeers as handleOnRequestSearch, isLoading } from './appStore'
5+
import appStore from './appStore'
66

77
// this is re-rendered whenever the relevant parts of the used data stores change
88
export default view(() => (
99
<div className='searchbar'>
1010
<SearchBar
11-
onRequestSearch={handleOnRequestSearch}
11+
onRequestSearch={appStore.fetchBeers}
1212
placeholder='Add some food ...'
1313
autoFocus
1414
/>
15-
{isLoading && <LinearProgress />}
15+
{appStore.isLoading && <LinearProgress />}
1616
</div>
1717
))

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
],
103103
"ignore": [
104104
"**/build/**",
105-
"**/node_modules/**"
105+
"**/node_modules/**",
106+
"examples/**"
106107
]
107108
},
108109
"pre-push": [

0 commit comments

Comments
 (0)