()
| 27 | }; |
| 28 | |
| 29 | const decrease = () => { |
| 30 | setAmount((prev) => { |
| 31 | let tempAmount = prev - 1; |
| 32 | if (tempAmount < 1) { |
| 33 | tempAmount = 1; |
| 34 | } |
| 35 | return tempAmount; |
| 36 | }); |
| 37 | }; |
| 38 | |
| 39 | return ( |
| 40 | <section> |
nothing calls this directly
no outgoing calls
no test coverage detected