We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26e227e commit 09f8122Copy full SHA for 09f8122
1 file changed
ui/src/components/common/ChangeHistory/utils/useChangeHistoryPageRouterState.ts
@@ -2,7 +2,7 @@ import noop from 'lodash/noop';
2
import { DateTime } from 'luxon';
3
import { useMemo } from 'react';
4
import { parseDate } from '../../../../time';
5
-import { PagingInfo, SortOrder, defaultPagingInfo } from '../../../../types';
+import { PagingInfo, SortOrder } from '../../../../types';
6
import { Priority } from '../../../../types/enums';
7
import { memoizeStatePicker } from '../../../../utils';
8
import {
@@ -35,7 +35,8 @@ export const defaultValues: FlatChangeHistoryState = {
35
...defaultChangeHistorySortingInfo,
36
37
// Paging
38
- ...defaultPagingInfo,
+ page: 1,
39
+ pageSize: 20,
40
};
41
42
const serializers: UrlStateSerializers<FlatChangeHistoryState> = {
0 commit comments