Skip to content

Commit

Permalink
fix: add "those" in warning
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Sep 30, 2019
1 parent 6461009 commit 2724032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/__tests__/InstantSearch-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ describe('UI state', () => {
})
.toWarnDev(`[InstantSearch.js]: The UI state for the index "indexName" is not consistent with the widgets mounted.
This can happen when the UI state is specified via \`initialUiState\` or \`routing\` but that the widgets responsible for this state were not added. This results in query parameters not being sent to the API.
This can happen when the UI state is specified via \`initialUiState\` or \`routing\` but that the widgets responsible for this state were not added. This results in those query parameters not being sent to the API.
To fully reflect the state, some widgets need to be added to the index "indexName":
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/index/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ const index = (props: IndexProps): Index => {
missingWidgets.length === 0,
`The UI state for the index "${this.getIndexId()}" is not consistent with the widgets mounted.
This can happen when the UI state is specified via \`initialUiState\` or \`routing\` but that the widgets responsible for this state were not added. This results in query parameters not being sent to the API.
This can happen when the UI state is specified via \`initialUiState\` or \`routing\` but that the widgets responsible for this state were not added. This results in those query parameters not being sent to the API.
To fully reflect the state, some widgets need to be added to the index "${this.getIndexId()}":
Expand Down

0 comments on commit 2724032

Please sign in to comment.