Skip to content

chore: remove unused CardFooter export from card component#175

Merged
andrerfneves merged 1 commit into
mainfrom
maintenance/remove-unused-card-footer-20260611
Jun 12, 2026
Merged

chore: remove unused CardFooter export from card component#175
andrerfneves merged 1 commit into
mainfrom
maintenance/remove-unused-card-footer-20260611

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Removes the unused CardFooter export from the card UI component. It was defined and exported but never imported or used anywhere in the codebase.

Problem

  • CardFooter was defined as a forwarded-ref component in src/components/ui/card.tsx
  • It was exported but never imported by any source file, test file, or story file
  • The only usage in payment-hash-verifier.tsx imports Card, CardContent, CardDescription, CardHeader, CardTitle — no CardFooter

Changes

  • Remove CardFooter component definition and its displayName assignment
  • Remove CardFooter from the export list

Verification

  • All 52 tests pass
  • npm run build succeeds
  • CardFooter is not referenced anywhere else in the codebase
  • No behavioral changes — the Card component family continues to function identically

CardFooter was defined and exported but never imported or used anywhere
in the codebase. Removing it cleans up dead code with no behavioral
impact.
@vercel

vercel Bot commented Jun 11, 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 11, 2026 6:04pm

@andrerfneves andrerfneves merged commit 8fb4924 into main Jun 12, 2026
4 checks passed
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