()
| 10 | onCancel() |
| 11 | } |
| 12 | const handleSuccess = async () => { |
| 13 | try { |
| 14 | setConfirmLoading(true); |
| 15 | await handleOk(); |
| 16 | } finally { |
| 17 | setConfirmLoading(false); |
| 18 | } |
| 19 | } |
| 20 | return ( |
| 21 | <div className={styles['button-footer']}> |
| 22 | <Button key="cancel" onClick={handleCancel} className='cancel-button'> |
nothing calls this directly
no test coverage detected