Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(RefreshCache): add missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss committed Dec 20, 2017
1 parent 82f3a76 commit 9e619a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docgen/src/guide/Refreshing_cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ import { InstantSearch, SearchBox, Hits } from 'react-instantsearch/dom';
class App extends Component {
constructor(props) {
super(props);

this.state = {
refresh: false,
refresh: false
};
}

Expand Down Expand Up @@ -74,8 +75,9 @@ import { InstantSearch, SearchBox, Hits } from 'react-instantsearch/dom';
class App extends Component {
constructor(props) {
super(props);

this.state = {
refresh: false,
refresh: false

This comment has been minimized.

Copy link
@Haroenv

Haroenv Dec 20, 2017

Contributor

We have trailing commas no?

This comment has been minimized.

Copy link
@samouss

samouss Dec 20, 2017

Author Collaborator

Right, my editor remove it because we use Prettier through with ESLint I think.. Will fix it.

This comment has been minimized.

Copy link
@vvo

vvo Dec 20, 2017

Contributor

yep you only need ESLINT plugin with autofix activated, if there's a better way to integrate eslint and prettier, all in.

};
}

Expand All @@ -86,6 +88,7 @@ class App extends Component {
onSearchStateChange = () => {
this.setState({ refresh: false });
};

render() {
return (
<InstantSearch
Expand Down

0 comments on commit 9e619a3

Please sign in to comment.