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

fix: icon id for next.js #3706

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

sebastianvitterso
Copy link
Contributor

Does two things:

  1. Updates custom useId hook to be stable (actually just return an increasing number).
  2. Make use of the updated useId hook in Icon.tsx for title id.

Closes #3705, see that for more details on "why".

Copy link
Collaborator

@oddvernes oddvernes left a comment

Choose a reason for hiding this comment

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

Looks good, just fix the thw things i commented on 👍

@oddvernes oddvernes merged commit 7e923a1 into equinor:develop Dec 13, 2024
6 checks passed
@sebastianvitterso sebastianvitterso deleted the fix/icon-id-for-next branch December 14, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants