You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading any MDX (docs only or autodocs) in Storybook 8.0.0-alpha-4 or higher, there is a warning in the console mentioning that emotion is loaded multiple times:
You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used.
Apart from emotion being instantiated by the Manager UI, there are two moments where it gets instantiated in the Preview UI:
Via @storybook/components
Via @storybook/addon-docs/node_modules/@storybook/components
Describe the bug
Project: MealDrop
Version: 8.0.0-alpha.4
Bug/feedback:
When loading any MDX (docs only or autodocs) in Storybook 8.0.0-alpha-4 or higher, there is a warning in the console mentioning that emotion is loaded multiple times:
Apart from emotion being instantiated by the Manager UI, there are two moments where it gets instantiated in the Preview UI:
Via
@storybook/components
Via
@storybook/addon-docs/node_modules/@storybook/components
To Reproduce
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: