()
| 154 | }; |
| 155 | |
| 156 | const handleClickNextStep = async () => { |
| 157 | if (step == 0 && checkIsBig()) { |
| 158 | setIsWarnModal(true); |
| 159 | return false; |
| 160 | } |
| 161 | if (step == 1 && !hasFetchedBuildings) { |
| 162 | await requestBuildings(); |
| 163 | return; |
| 164 | } |
| 165 | setStep(step + 1); |
| 166 | }; |
| 167 | |
| 168 | const handleClickPrevStep = () => { |
| 169 | setStep(step - 1); |
nothing calls this directly
no test coverage detected