(event: LogEvent, change: WhatsOffChange)
| 343 | }, [isPending, isApplied, isConfirming, picked]); |
| 344 | |
| 345 | const log = (event: LogEvent, change: WhatsOffChange) => |
| 346 | logEvent({ |
| 347 | event_name: event, |
| 348 | target_type: TargetType.WhatsOff, |
| 349 | target_id: answerId, |
| 350 | extra: JSON.stringify( |
| 351 | getWhatsOffChangeExtra(line, index, change, isPlus), |
| 352 | ), |
| 353 | }); |
| 354 | |
| 355 | const onPick = (change: WhatsOffChange) => { |
| 356 | shouldFocus.current = true; |
no test coverage detected