Skip to content

Commit ec27201

Browse files
docs(examples): fix undefined pagination in e-commerce demo (#4432)
1 parent 008c01c commit ec27201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/e-commerce/src/routing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const getStateMapping = ({ indexName }) => ({
194194
const indexUiState = uiState[indexName];
195195
return {
196196
query: indexUiState.query,
197-
page: String(indexUiState.page),
197+
page: indexUiState.page,
198198
brands: indexUiState.refinementList && indexUiState.refinementList.brand,
199199
category:
200200
indexUiState.hierarchicalMenu &&

0 commit comments

Comments
 (0)