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
Run the application and observe the error message related to the extra closing bracket.
Bug description
After installing the Dialog component from the shadcn-vue package, an unnecessary closing bracket ] is generated at the end of the class string inside the :class attribute for DialogScrollContent.
Reproduction
shadcn-vue
.npx shadcn-vue@latest add dialog
Bug description
After installing the Dialog component from the shadcn-vue package, an unnecessary closing bracket ] is generated at the end of the class string inside the :class attribute for DialogScrollContent.
The problematic code looks like this:
:class=" cn( 'relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full', props.class )]"
System Info
Contributes
The text was updated successfully, but these errors were encountered: