-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(infiniteHits): work with controlled mode (#4435)
* fix(infiniteHits): WIP * chore(test): expect searchWithoutTriggeringOnStateChange to be called * fix: always include `page` in uiState * chore: fix lint error * fix: return correct page from getWidgetState * fix: do not add page to uiState if it's the first page * test: fix test to expect empty uiState on first page * fix: update condition in getWidgetState * Revert "fix: update condition in getWidgetState" This reverts commit c77770f.
- Loading branch information
Eunjae Lee
authored
Jul 7, 2020
1 parent
eb8c8b3
commit 68b20f4
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters