( checkpointsOrCheckpointsId: CheckpointsOrCheckpointsId | undefined, action: string, arg?: string, )
| 563 | }; |
| 564 | |
| 565 | const useCheckpointAction = ( |
| 566 | checkpointsOrCheckpointsId: CheckpointsOrCheckpointsId | undefined, |
| 567 | action: string, |
| 568 | arg?: string, |
| 569 | ) => { |
| 570 | const checkpoints: any = useCheckpointsOrCheckpointsById( |
| 571 | checkpointsOrCheckpointsId, |
| 572 | ); |
| 573 | return useCallback( |
| 574 | () => checkpoints?.[action](arg), |
| 575 | [checkpoints, action, arg], |
| 576 | ); |
| 577 | }; |
| 578 | |
| 579 | const useSortedRowIdsImpl = ( |
| 580 | tableId: Id, |
no test coverage detected
searching dependent graphs…