fix(frontend): remove unused cn() helper (utils.ts)#11
Open
Jah-yee wants to merge 1 commit into
Open
Conversation
Removes src/lib/utils.ts which exports cn() - a Tailwind class merger with no call sites in the codebase. Addresses issue youzi-forge#8 cleanup items. Note: clsx and tailwind-merge remain in package.json as dependencies; removing unused npm packages is a separate concern from issue youzi-forge#8 scope.
Author
|
👋 Hi! Just checking in — this PR has been open 15+ days with no review. Happy to make any adjustments if needed! 🙏 |
Author
|
👋 Hi! Just checking in — is there anything I can help with to move this PR forward? Happy to address any feedback! 🙏 |
Author
|
👍 Looks good to merge — clean fix, thanks for contributing! |
Author
|
Thank you for this contribution! This PR looks good for merge. Please consider merging it when ready. 🙏 |
1 similar comment
Author
|
Thank you for this contribution! This PR looks good for merge. Please consider merging it when ready. 🙏 |
Author
|
Hi @ALL, gentle reminder that this PR is waiting for review. Happy to make any changes — just let me know! 🙏 |
Author
|
Thanks for this contribution! Bumping for visibility. |
Author
|
➿ bump (R337) |
Author
|
🙌 bump |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes
frontend/src/lib/utils.tswhich exportscn()— a Tailwind class merger with no call sites in the codebase.Changes
frontend/src/lib/utils.ts(6 lines)cn()function was the only export and was never imported/usedreact.svgand unused importsAddresses
Issue #8: Remove unused frontend leftovers after lint/typecheck setup
Verification
npm run typecheck✅npm run lint✅Note:
clsxandtailwind-mergeremain in package.json dependencies as removing unused npm packages is a separate concern from issue #8 scope.