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
Prettier was updated as part of the dependency updates which formats the snippets and made their APIs async. The transform function in storybook does not support async yet and it's not on the roadmap.
π Bug Report
It looks like PR #1905 was responsible for breaking Storybook source snippets. I.e.
π» Repro or Code Sample
Source snippets worked with the "Select placeholder (#1842)" PR β Chromatic Storybook
Source snippets fail with
[object Promise]
with the "Dependency Updates March 2024 (#1905)" PR β Chromatic Storybookπ€ Expected Behavior
π― Current Behavior
π Possible Solution
π¦ Context
π Your Environment
The text was updated successfully, but these errors were encountered: