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

website: Fix Header.stories.js rendering add FlagsProvider #688

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

rjmacarthy
Copy link
Contributor

@rjmacarthy rjmacarthy commented Jan 13, 2023

Hi!

The story at src/components/Header/Header.stories.jsx is not loading correctly in when running storybook.

It needs to be wrapped in the FlagsProvider as is using the Flags component. If the Flags component is going to be used in more places it would be advisable to write a storybook decorator for it.

Please let me know if you have any questions or concerns.

Thank you,

@rjmacarthy rjmacarthy changed the title Fix Header.stories.js rendering add FlagsProvider website: Fix Header.stories.js rendering add FlagsProvider Jan 13, 2023
@fozziethebeat
Copy link
Collaborator

I think in a followup PR we should figure out where to put this in storybook's main wrapper code. I would have to investigate where that is.

@fozziethebeat fozziethebeat merged commit 8656d9c into LAION-AI:main Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants