diff --git a/src/components/CollapsibleSection.tsx b/src/components/CollapsibleSection.tsx index ab22f9e..e3ef094 100644 --- a/src/components/CollapsibleSection.tsx +++ b/src/components/CollapsibleSection.tsx @@ -43,25 +43,32 @@ function CollapsibleSection({ if (expandedState.has(nodeId) || searchText.length > 0) { if ('band_id' in node) { - children = (node as BandResponse).layers.map((layer) => ( - - )); + children = ( +
+ {(node as BandResponse).layers.map((layer) => ( + + ))} +
+ ); } else if ('map_id' in node) { children = (node as MapResponse).bands.map((band) => (