(pageInfo: PageInfo)
| 22 | const history = useHistory(); |
| 23 | |
| 24 | const onChange = (pageInfo: PageInfo) => { |
| 25 | if (!pageInfo.pageSize) { |
| 26 | throw new Error('pageSize is undefined'); |
| 27 | } |
| 28 | const url = getURLPathByFilterParams(filterFields, getPaginationParams(pageInfo.current, pageInfo.pageSize)); |
| 29 | history.push(url); |
| 30 | }; |
| 31 | |
| 32 | return ( |
| 33 | <PrimaryTable |
nothing calls this directly
no test coverage detected