Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use context for header #55

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Use context for header #55

merged 5 commits into from
Nov 21, 2024

Conversation

nickbristow
Copy link
Collaborator

Use context so header content is with their pages

setHeroContent: () => {},
});

export function HeroWrapper({
Copy link
Collaborator

Choose a reason for hiding this comment

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

Small suggestion - I'd recommend naming this HeroContextProvider so that we can tell what it is at a glance where it gets used.

@nickbristow nickbristow merged commit a6088fd into next Nov 21, 2024
1 check passed
@nickbristow nickbristow deleted the header-context branch November 21, 2024 20:31
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.

2 participants