big clean up
This commit is contained in:
@@ -13,7 +13,8 @@ export async function loadMapSceneData(): Promise<SceneData | null> {
|
||||
return null;
|
||||
}
|
||||
|
||||
const mapNodes = parseMapNodes(await response.json());
|
||||
const mapPayload: unknown = await response.json();
|
||||
const mapNodes = parseMapNodes(mapPayload);
|
||||
return createSceneData(mapNodes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user