(id)
| 7 | |
| 8 | export default function Resolutions (props) { |
| 9 | function remove (id) { |
| 10 | const { resolutions } = window.store |
| 11 | const index = resolutions.findIndex(d => d.id === id) |
| 12 | if (index < 0) { |
| 13 | return |
| 14 | } |
| 15 | resolutions.splice(index, 1) |
| 16 | } |
| 17 | |
| 18 | function submit (data) { |
| 19 | const { resolutions } = window.store |
no outgoing calls
no test coverage detected