remove not needed TODO

This commit is contained in:
Mateusz Konieczny 2022-11-02 10:38:42 +01:00
parent b8adaecf39
commit f2078aecb0

View File

@ -28,7 +28,7 @@ export function useBuildingData(buildingId: number, preloadedData: Building, inc
]);
building.uprns = buildingUprns.uprns;
building.planning_data = planningData.data; // TODO use planningData?
building.planning_data = planningData.data;
building = Object.assign(building, {...building.user_attributes});
delete building.user_attributes;