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

refactor: Header component #104

Merged
merged 3 commits into from
Sep 5, 2024
Merged

refactor: Header component #104

merged 3 commits into from
Sep 5, 2024

Conversation

rowellx68
Copy link
Owner

In an attempt to fix some issues observed with dynamically rendered Header.NavItems, I am moving the initialisation of the NHS frontend Header script into Header.NavList. That way we can reinitialise it when the children component changes.

…hildren update

This moves the invocation of the header script into NavList so it can react to the changes to the children. Useful for when the links are dynamically rendred.
@rowellx68 rowellx68 merged commit 35dc3fd into main Sep 5, 2024
1 check passed
@rowellx68 rowellx68 deleted the fix/header branch September 5, 2024 11:29
@github-actions github-actions bot mentioned this pull request Sep 5, 2024
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.

1 participant