Skip to content

Commit e576218

Browse files
committed
feat: Add council district
1 parent 7de48c5 commit e576218

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/app/components/SinglePropertyDetail.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,22 @@ const SinglePropertyDetail = ({
1616
const { properties } = property;
1717
if (!properties) return null;
1818

19-
const { access_process, address, tree_canopy_gap, market_value, neighborhood, open_violations_past_year, owner_1, owner_2, priority_level, guncrime_density, total_due, zipcode, OPA_ID } = properties;
19+
const {
20+
access_process,
21+
address,
22+
council_district,
23+
guncrime_density,
24+
market_value,
25+
neighborhood,
26+
open_violations_past_year,
27+
owner_1,
28+
owner_2,
29+
priority_level,
30+
total_due,
31+
tree_canopy_gap,
32+
zipcode,
33+
OPA_ID,
34+
} = properties;
2035
const image = `https://storage.googleapis.com/cleanandgreenphilly/${OPA_ID}.jpg`;
2136
const atlasUrl = `https://atlas.phila.gov/${address}`;
2237

@@ -46,6 +61,10 @@ const SinglePropertyDetail = ({
4661
<th scope="row" className="table-cell">Neighborhood</th>
4762
<td className="table-cell">{neighborhood}</td>
4863
</tr>
64+
<tr>
65+
<th scope="row" className="table-cell">Council District</th>
66+
<td className="table-cell">{council_district}</td>
67+
</tr>
4968
<tr>
5069
<th scope="row" className="table-cell">Gun Crime Rate</th>
5170
<td className="table-cell">{guncrime_density}</td>

0 commit comments

Comments
 (0)