Skip to content

Commit bfe8592

Browse files
committed
fix: hide neighborhood amenities section when no jurisdiction selected
1 parent 330e465 commit bfe8592

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sites/partners/src/components/listings/PaperListingForm/sections/NeighborhoodAmenities.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const NeighborhoodAmenities = () => {
4141
return rows
4242
}, [visibleAmenities])
4343

44-
if (!enableNeighborhoodAmenities) {
44+
if (!enableNeighborhoodAmenities || !jurisdiction) {
4545
return <></>
4646
}
4747

0 commit comments

Comments
 (0)