Skip to content

fix(ui): remove unused clsx/twMerge imports from Input and Modal - #1454

Open
OpensrcLord wants to merge 1 commit into
LabsCrypt:mainfrom
OpensrcLord:fix/remove-unused-clsx-twmerge-imports
Open

fix(ui): remove unused clsx/twMerge imports from Input and Modal#1454
OpensrcLord wants to merge 1 commit into
LabsCrypt:mainfrom
OpensrcLord:fix/remove-unused-clsx-twmerge-imports

Conversation

@OpensrcLord

@OpensrcLord OpensrcLord commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Completes the DRY cleanup from #1248.

Commit already replaced the local copies in Button, Card, and EmptyState with the shared import from . However, Input.tsx and Modal.tsx still carried dead clsx and twMerge imports — they imported the shared cn() but never removed the raw dependencies they no longer use directly.

This PR removes those unused imports so there are no dead symbols in the design-system folder.

Changes

  • — removed unused clsx and tailwind-merge imports
  • — removed unused clsx and tailwind-merge imports

Verification

  • No visual or behavioral change — cn() calls remain identical
  • tsc --noEmit passes (pre-existing errors only, none from these files)
  • Lint passes (pre-existing prettier config issue aside)

closes #1248

Input.tsx and Modal.tsx imported clsx and tailwind-merge directly
despite already using the shared cn() helper from @/app/utils/cn.
These dead imports are now removed, completing the DRY cleanup
started in commit 8210157 for Button, Card, and EmptyState.

Closes LabsCrypt#1248
@OpensrcLord

Copy link
Copy Markdown
Author

@ogazboiz done closes #1248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants