()
| 89 | const add = (change: TuneChange) => setChanges([...changes, change]); |
| 90 | |
| 91 | const preview = () => { |
| 92 | if (!pendingCount) { |
| 93 | return; |
| 94 | } |
| 95 | logEvent({ |
| 96 | event_name: LogEvent.PreviewFeedTune, |
| 97 | extra: JSON.stringify({ changes: latest.size, pending: pendingCount }), |
| 98 | }); |
| 99 | state.preview(); |
| 100 | }; |
| 101 | |
| 102 | const save = () => { |
| 103 | const saved = latestChanges(changes); |
nothing calls this directly
no test coverage detected