(id: string, newName: string)
| 43 | }; |
| 44 | |
| 45 | const editCardName = (id: string, newName: string) => { |
| 46 | const card = getCardById("", id); |
| 47 | if (card) card.title = newName; |
| 48 | }; |
| 49 | |
| 50 | return { |
| 51 | deleteCard, |
nothing calls this directly
no test coverage detected