MCPcopy Create free account
hub / github.com/cartesiancs/map3d / handleClickNextStep

Function handleClickNextStep

src/ui/App.tsx:156–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 2

checkIsBigFunction · 0.85
requestBuildingsFunction · 0.85

Tested by

no test coverage detected