Skip to content

Conversation

@Gerome-Elassaad
Copy link

@Gerome-Elassaad Gerome-Elassaad commented Oct 24, 2025

Removed the 'use client' directive from the following UI components, as it’s not compatible with Vite:

Issue: #2034

  • /components/ui/Badge.tsx
  • /components/ui/ScrollArea.tsx
  • /components/ui/Collapsible.tsx

These components don’t require client-side rendering, so I have removed the directive resolves build issues without affecting functionality.

removed incompatible 'use client'
incompatible 'use client'  removed
incompatible 'use client'  removed
@Gerome-Elassaad Gerome-Elassaad changed the title Remove 'use client' directives incompatible with Vite remove 'use client' directives incompatible with Vite Oct 24, 2025
@Stijnus Stijnus changed the title remove 'use client' directives incompatible with Vite fix: remove 'use client' directives incompatible with Vite Oct 24, 2025
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.

1 participant