(show = false, type = '', msg = '')
| 42 | }; |
| 43 | |
| 44 | const showAlert = (show = false, type = '', msg = '') => { |
| 45 | setAlert({ show, type, msg }); |
| 46 | }; |
| 47 | const clearList = () => { |
| 48 | showAlert(true, 'danger', 'empty list'); |
| 49 | setList([]); |
no outgoing calls
no test coverage detected