(id)
| 95 | |
| 96 | // Remove transaction by ID |
| 97 | function removeTransaction(id) { |
| 98 | transactions = transactions.filter(transaction => transaction.id !== id); |
| 99 | |
| 100 | updateLocalStorage(); |
| 101 | |
| 102 | init(); |
| 103 | } |
| 104 | |
| 105 | // Update local storage transactions |
| 106 | function updateLocalStorage() { |
nothing calls this directly
no test coverage detected