(input: QuestionReject)
| 100 | } |
| 101 | |
| 102 | const beginReject = async (input: QuestionReject) => { |
| 103 | setState((prev) => questionSetSubmitting(prev, true)) |
| 104 | |
| 105 | try { |
| 106 | await props.onReject(input) |
| 107 | } catch { |
| 108 | setState((prev) => questionSetSubmitting(prev, false)) |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | const saveCustom = () => { |
| 113 | const cur = state() |
no test coverage detected