@@ -365,10 +370,13 @@ const PlaceOverview = (props: {
{place.name}
{placeSummary}
-
-
-
+ {isInUsa && (
+
+
+
+ )}
@@ -454,6 +462,7 @@ export const DevPlaceMain = () => {
// Derived place data
const [childPlaceType, setChildPlaceType] = useState
();
const [childPlaces, setChildPlaces] = useState([]);
+ const [parentPlaces, setParentPlaces] = useState([]);
const [pageConfig, setPageConfig] = useState();
const urlParams = new URLSearchParams(window.location.search);
@@ -505,6 +514,7 @@ export const DevPlaceMain = () => {
);
setChildPlaceType(relatedPlacesApiResponse.childPlaceType);
setChildPlaces(relatedPlacesApiResponse.childPlaces);
+ setParentPlaces(relatedPlacesApiResponse.parentPlaces);
setPageConfig(pageConfig);
})();
}, [place]);
@@ -520,7 +530,11 @@ export const DevPlaceMain = () => {
placeSubheader={placeSubheader}
/>
-
+
{place && pageConfig && (