chore: remove unused frontend dependencies and fix build - #206
Merged
JamesEjembi merged 1 commit intoAug 22, 2026
Merged
Conversation
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.
Pull Request: Audit and Remove Unused Frontend Dependencies
Fixes #187
Description
This PR addresses issue #187 by auditing the frontend project and removing unused dependencies to help reduce bloat, optimize the workspace, and keep our lockfiles clean. It also includes a few minor syntax, type, and linting fixes that were discovered while ensuring a clean build.
Changes Made
Removed Unused Dependencies:
@axe-core/playwrightandfast-checkwhich were flagged bydepcheckas unused.package.jsonandpackage-lock.json.Fixed Pre-existing Build/Lint Errors:
Nullish coalescing operator(??) requires parenserror insrc/components/governance/ProposalCreator.tsx.canceledcase from the switch statement handlingProposalStatusinsrc/components/governance/ProposalCard.tsx.@typescript-eslint/no-explicit-anydisable comment for an intentional type cast insrc/__tests__/hexDecoder.test.ts.Testing Instructions
remove-unused-dependencies.npm installto ensure your node_modules are synced with the updatedpackage-lock.json.npm run build— the build should complete successfully without any Turbopack or TypeScript errors.npm run lint— the linter should pass without theUnexpected anyerror.Checklist
depchecknpm run buildcompletes successfullynpm run lintcompletes successfully