diff --git a/packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx b/packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx index 1de22cc2..fc8a8372 100644 --- a/packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx +++ b/packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/FeatureDetailsNavigation.tsx @@ -13,10 +13,10 @@ export const FeatureDetailsNavigation = observer( }) { const { feature, model } = props const { children, parent } = feature - const childrenSnapshot = [] + const childFeatures = [] if (children) { for (const [, child] of children) { - childrenSnapshot.push(child) + childFeatures.push(child) } } @@ -35,10 +35,10 @@ export const FeatureDetailsNavigation = observer( )} - {childrenSnapshot.length > 0 && ( + {childFeatures.length > 0 && (
Children: - {childrenSnapshot.map((child) => ( + {childFeatures.map((child) => (