Skip to content

Conversation

@mainadapter
Copy link

@mainadapter mainadapter commented Oct 22, 2025

🧹 Summary

This PR focuses on cleaning up unused code across the project to enhance maintainability, clarity, and performance. It removes unnecessary imports, variables, components, and redundant logic that were no longer in use.

✨ Changes Overview

  • Removed unused components:

    • Carousel.tsx
    • Logo.tsx and its references, as it always returned null
  • Cleaned up imports:

    • Removed unused imports from multiple components (Footer, Header, Navigation, HeroCall, RepoLanguages, Rules, etc.)
  • Pruned obsolete props and variables:

    • Removed unused properties such as diferentColor, imageUrl, and isDesktop
  • Simplified forms and pages:

    • Cleaned up redundant code in PersonalDataForm, MinhaÁrea, Regras, and related components

🎯 Purpose

Improve overall code clarity and maintainability by removing dead code, reducing bundle size, and making the codebase easier to navigate and maintain.

🚧 Next Steps

There are still some TypeScript type errors in the codebase, particularly related to the use of the any type.
These were not addressed in this PR to keep the scope focused. It’s recommended to create a dedicated PR to handle type improvements and strengthen type safety across the project.

@mainadapter mainadapter force-pushed the refactor/remove-unused-code branch from d639dbe to 7abefac Compare October 31, 2025 19:09
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