Skip to content

Conversation

@shilpanice
Copy link
Contributor

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we rename to something that's not component specific?.. ContentStructureUtils maybe?

tree,
slug,
}: StoryblokSectionNavProps): JSX.Element => {
const sectionNavLabel = sectionNavIsPopulated(tree) ? tree[0] : null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given this is the content we'll also need for the preheader, could we move this var into section nav utils as sectionTitle or similar?

@shilpanice shilpanice requested a review from beccadawson January 6, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants