Skip to content

chore: remove unused DialogFooter export from dialog component#213

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-dialog-footer-export-20260624
Open

chore: remove unused DialogFooter export from dialog component#213
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-unused-dialog-footer-export-20260624

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Removes the unused DialogFooter export from the dialog shadcn/ui component. The component definition remains in the file (consistent with the pattern used in PR #203 and PR #207 for other unused dialog subcomponent exports), only the redundant export entry is removed.

Why

DialogFooter is defined in dialog.tsx and exported, but no external code imports it. Keeping unnecessary exports:

  • Pollutes the public API surface
  • Adds noise to import autocompletion
  • Is dead code that should match the actual usage pattern

This follows the same cleanup pattern as:

Changes

  • src/components/ui/dialog.tsx: Removed DialogFooter from the export { ... } block. The component definition remains in the file.

Verification

  • Grep confirms no files import DialogFooter from anywhere in the codebase
  • All 52 existing tests pass
  • Production build completes successfully
  • No behavior change — this export was never imported externally

DialogFooter is defined in the dialog.tsx shadcn/ui component but
no consumer imports it. The component definition remains in the file
(consistent with the pattern used in PR #203 and PR #207 for other
unused dialog subcomponent exports), only the redundant export entry
is removed.

Verified: grep confirms no files import DialogFooter from anywhere
in the codebase.
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 24, 2026 12:06pm

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