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

fix: block viewer copy install command #5791

Closed
wants to merge 1 commit into from
Closed

Conversation

zjom
Copy link

@zjom zjom commented Nov 11, 2024

When copying the install command from the blocks page, it only copies npx shadcn@latest add , foregoing the actual block name.

The issue is in the copyToClipboard function call in block-viewer.tsx where it doesn't reference item.name, only name.

Copy link

vercel bot commented Nov 11, 2024

@zjom is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@shadcn
Copy link
Collaborator

shadcn commented Nov 11, 2024

Fixed in #5790

@shadcn shadcn closed this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants