Skip to content

Commit cea6739

Browse files
author
Alexandre Stanislawski
committed
fix(doc): add doc for isFirstRendering
1 parent 4da1880 commit cea6739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connectors/hits-per-page-selector/connectHitsPerPageSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Full documentation available at https://community.algolia.com/instantsearch.js/c
4545

4646
/**
4747
* Creates a custom HitsPerPage widget factory.
48-
* @param {function(HitsPerPageRenderingOptions, boolean)} renderFn function that renders the hits widget
48+
* @param {function(HitsPerPageRenderingOptions, boolean)} renderFn function that renders the hits widget, the boolean indicates if the current call is the first one / the one before the first search.
4949
* @return {function(HitsPerPageWidgetOptions)} a custom HitsPerPage widget factory
5050
*/
5151
export default function connectHitsPerPageSelector(renderFn) {

0 commit comments

Comments
 (0)