-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Code block displaying [object Object]
when @storybook/components is used
#18090
Comments
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-beta.3 containing PR #18127 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
@okonet can you try the new release? seems to be working for me now |
I'm still getting this problem with 6.5.0-beta.4 This is me trying to get the
|
@SlexAxton is that in the monorepo or a standalone repo? And why is there a |
that’s taking the folder from the monorepo and making it into a standalone folder, and then installing peerDeps until its happy. preact is a peerDep for something now i guess :) |
Ah i think its the same for me but it never updates in the docs tab.
On Wed, May 4, 2022 at 7:37 AM Andrey Okonetchnikov < ***@***.***> wrote:
I can see it in the monorepo as well but it only after the fresh start:
cd examples/react-ts
yarn run storybook
[image: CleanShot 2022-05-04 at 14 35 ***@***.***
<https://user-images.githubusercontent.com/11071/166682319-b6ef5375-68f4-4174-a019-0b622179f7ac.png>
After the page is refreshed it is showing the proper code:
[image: CleanShot 2022-05-04 at 14 36 ***@***.***
<https://user-images.githubusercontent.com/11071/166682393-242968ab-7c27-4df9-bcdb-0705016daf1e.png>
I'm still investigating the cause...
—
Reply to this email directly, view it on GitHub
<#18090 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAXSKUK5ED7W2ZOXC4LCLDVIJVP7ANCNFSM5UR5NZQQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Alex Sexton
|
Hurrah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-beta.7 containing PR #18158 that references this issue. Upgrade today to the
|
Looks like we could try undoing our "fix": wooorm/refractor#61 |
…light the code Closes storybookjs#18090
this is happening to me with ShadCN components on latest storybook 7.4. Most of the code blocks have Object OBject in them |
The open issue relating to this is here |
Describe the bug
When using
@storybook/components
(as per reproduction case) I see[object Object]
instead of the code in the code block:To Reproduce
https://github.com/okonet/storybook-reproduction-code-block
System
The text was updated successfully, but these errors were encountered: