We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
page
1 parent ec27201 commit ea6581bCopy full SHA for ea6581b
src/widgets/index/index.ts
@@ -442,15 +442,11 @@ const index = (props: IndexProps): Index => {
442
// configuration of the widget is pushed in the URL. That's what we want to avoid.
443
// https://github.com/algolia/instantsearch.js/pull/994/commits/4a672ae3fd78809e213de0368549ef12e9dc9454
444
helper.on('change', event => {
445
- const { state, isPageReset } = event;
+ const { state } = event;
446
447
// @ts-ignore _uiState comes from privateHelperSetState and thus isn't typed on the helper event
448
const _uiState = event._uiState;
449
450
- if (isPageReset) {
451
- localUiState.page = undefined;
452
- }
453
-
454
localUiState = getLocalWidgetsState(
455
localWidgets,
456
{
0 commit comments