refactor(web): remove 3 unused utility files#718
Conversation
Remove dead code confirmed by knip and manual grep verification: - use-disclosure.tsx: custom hook never imported anywhere - use-lg.tsx: breakpoint hook never imported anywhere - pagination.ts: pagination constants never imported anywhere Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (3)
📝 WalkthroughWalkthroughThree files are deleted: pagination configuration constants and two UI hooks ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
apps/web/src/hooks/ui/use-disclosure.tsx— custom hook never imported anywhere in the codebaseapps/web/src/hooks/ui/use-lg.tsx— breakpoint hook never imported anywhereapps/web/src/config/pagination.ts— pagination constants never imported anywhereAll confirmed unused by both
knipanalysis and manualgrepverification.Test plan
oxlintpasses with 0 warnings and 0 errors🤖 Generated with Claude Code
Summary by CodeRabbit