| ... | ... | @@ -208,19 +208,17 @@ const ComposerPendingUserInputCard = memo(function ComposerPendingUserInputCard( |
| 208 | 208 | </> |
| 209 | 209 | ); |
| 210 | 210 | return ( |
| 211 | | <div |
| 211 | <button |
| 212 | 212 | key={`${activeQuestion.id}:${option.label}`} |
| 213 | | role="button" |
| 214 | | tabIndex={isResponding ? -1 : 0} |
| 215 | | aria-disabled={isResponding} |
| 213 | type="button" |
| 214 | disabled={isResponding} |
| 216 | 215 | onClick={() => { |
| 217 | | if (isResponding) return; |
| 218 | 216 | handleOptionSelection(activeQuestion.id, option.label); |
| 219 | 217 | }} |
| 220 | 218 | className={className} |
| 221 | 219 | > |
| 222 | 220 | {content} |
| 223 | | </div> |
| 221 | </button> |
| 224 | 222 | ); |
| 225 | 223 | })} |
| 226 | 224 | </div> |