(id: string)
| 25 | }; |
| 26 | |
| 27 | const reduceCardHeight = (id: string) => { |
| 28 | const card = getCardById("", id); |
| 29 | const newIndex = LEVEL_LIST.findIndex((item) => item === card?.height); |
| 30 | if (newIndex >= 0 && LEVEL_LIST[newIndex + 1] && card) { |
| 31 | card.height = LEVEL_LIST[newIndex + 1]; |
| 32 | } |
| 33 | }; |
| 34 | |
| 35 | const addCardWidth = (id: string) => { |
| 36 | const card = getCardById("", id); |
nothing calls this directly
no test coverage detected