Files
tom goriunovandGitHub 840c3769f7 Graceful service degradation: block page (#1541)
* display main data

* display rest of tx fields

* placeholder data

* always show tabs

* manage error and retries on details tab

* don't retry if degraded view is active

* fix tests

* fix tx receipt

* change styles and wording for warning

* tweaks

* gray alert style change and update screenshots

* display main block info from RPC

* refetch API query

* txs tab

* display empty address for contract creation tx

* withdrawals tab

* remove type coercions

* lazy rendered lists

* fix RPC query refetch

* fixes

* comment about block type

* fix tests

* update screenshots

* [skip ci] better variable name
2024-01-30 16:58:06 +04:00

14 lines
302 B
TypeScript

import type { PaginationParams } from './types';
export const emptyPagination: PaginationParams = {
page: 1,
onNextPageClick: () => {},
onPrevPageClick: () => {},
resetPage: () => {},
hasPages: false,
hasNextPage: false,
canGoBackwards: false,
isLoading: false,
isVisible: false,
};