When creating a nextJS application and adding an IcSideNavigation, the icons for navigation items only appear after opening and closing the side nav once. This occurs every time you refresh the page.
🪜 How to reproduce
Tell us the steps to reproduce the problem:
Create a nextJS app
Add an IcSideNavigation to a file
Bring the exported side nav into the app.tsx file inside of a SessionProvider
Icons should load first time and shouldn't require extra clicks to be visible.
Additional info
I can provide code for this internally if you can't recreate it.
It also happens if side nav is just put directly into the app.tsx file, it's not specific to being in a separate file
Summary of the bug
When creating a nextJS application and adding an
IcSideNavigation
, the icons for navigation items only appear after opening and closing the side nav once. This occurs every time you refresh the page.🪜 How to reproduce
Tell us the steps to reproduce the problem:
IcSideNavigation
to a fileapp.tsx
file inside of a SessionProvider📸 Screenshots or code
https://github.com/mi6/ic-ui-kit/assets/111882034/60a20ab0-a5a1-4f18-a489-a8702a8c2dc0
🧐 Expected behaviour
Icons should load first time and shouldn't require extra clicks to be visible.
Additional info
I can provide code for this internally if you can't recreate it. It also happens if side nav is just put directly into the
app.tsx
file, it's not specific to being in a separate file