(state: QuestionBodyState, tab: number)
| 107 | } |
| 108 | |
| 109 | export function questionSetTab(state: QuestionBodyState, tab: number): QuestionBodyState { |
| 110 | return { |
| 111 | ...state, |
| 112 | tab, |
| 113 | selected: 0, |
| 114 | editing: false, |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | export function questionSetSelected(state: QuestionBodyState, selected: number): QuestionBodyState { |
| 119 | return { |
no outgoing calls
no test coverage detected