Skip to content

Commit

Permalink
fix: rename results component to hits
Browse files Browse the repository at this point in the history
was already hits as a react component
  • Loading branch information
vvo committed Aug 4, 2015
1 parent 397294e commit 7b9eb25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ instant.addWidget(
);

instant.addWidget(
instantsearch.widgets.results({
container: '#hits',
instantsearch.widgets.hits({
container: '#hits',

templates: {
noResults: require('./templates/no-results.html'),
hit: require('./templates/hit.html')
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
InstantSearch: require('./lib/InstantSearch'),
widgets: {
searchBox: require('./widgets/search-box/'),
results: require('./widgets/hits/'),
hits: require('./widgets/hits/'),
pagination: require('./widgets/pagination/')
}
};

0 comments on commit 7b9eb25

Please sign in to comment.