+
+ {hierData.map((hierItem, index) => {
+ // Check if the index is less than defData length
+ const isLessThanDefData = index < defData.length;
+
+ if (isLessThanDefData) {
+ if (hierItem?.boundaryType === defData[index]?.boundaryType) {
+ return (
+