(id: string)
| 17 | ]; |
| 18 | |
| 19 | const addCardHeight = (id: string) => { |
| 20 | const card = getCardById("", id); |
| 21 | const newIndex = LEVEL_LIST.findIndex((item) => item === card?.height); |
| 22 | if (newIndex >= 0 && LEVEL_LIST[newIndex - 1] && card) { |
| 23 | card.height = LEVEL_LIST[newIndex - 1]; |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | const reduceCardHeight = (id: string) => { |
| 28 | const card = getCardById("", id); |
nothing calls this directly
no test coverage detected