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

[bug]: Duplicate / in imports of the code in the blocks documentation #4839

Open
2 tasks done
admclamb opened this issue Sep 13, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@admclamb
Copy link

admclamb commented Sep 13, 2024

Describe the bug

Whenever viewing the code of blocks using the "New York" style, there are multiple slashes in the UI route in the import statements of the components. For example: import { Separator } from "@/components//ui/separator"

Screenshot from 2024-09-13 14-21-30

Affected component/components

Documentation

How to reproduce

  1. Go to the Shadcn website
  2. Navigate to the blocks route
  3. Select New York style if not selected
  4. Click on code
  5. Scroll to the imports to see the multiple slashes

Codesandbox/StackBlitz link

n/a

Logs

n/a

System Info

Firefox, Chrome

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@admclamb admclamb added the bug Something isn't working label Sep 13, 2024
gulshanAI added a commit to gulshanAI/shadecnui that referenced this issue Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant