-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small cleanup #1147
small cleanup #1147
Conversation
… dojo-v1.0.0-alpha.1
Dojo v1.0.0 alpha.1
Upgrade to Dojo v1.0.0 alpha.3
- use id alias more
use u32 as primary entity type
* Clean legacy code + remove unused exports * add knip command * more cleaning * prettier * Cleanup + add knip CI * fix build * fix knip * rebase main * prettier * fix knip ci * resolve comments
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this PR contains good cleanup efforts. It removes duplicate CSS classes, unused imports, and unnecessary code. These changes, while small, contribute to a cleaner and more maintainable codebase. The changes are straightforward and don't introduce any new functionality or potential bugs. Good job on the cleanup!
Thanks for using MentatBot. Give comments a 👍 or 👎 to help me improve!
client/src/ui/components/structures/construction/StructureConstructionMenu.tsx
Show resolved
Hide resolved
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
* Change to V1 + add type aliases for entity ids * Make elements clickable under right and left navigation modules buttons + fix z-index of quests, guilds and leaderboard * scarb fmt * Change bonus_percent to u32 instead of u128 * Address minor PR comments * prettier * knip
PR Type
enhancement, miscellaneous
Description
div
elements inTroopChip
andBattleDetails
components.StructureConstructionMenu
.ResourceMiningTypes
enum definition and imported it fromutils/utils
inconfig.tsx
.armiesAtPosition
variable inBattleView
.Changes walkthrough 📝
TroopChip.tsx
Remove redundant CSS class in TroopChip component
client/src/ui/components/military/TroopChip.tsx
w-full
class from thediv
element.config.tsx
Remove redundant enum and import from utils in config
client/src/ui/config.tsx
ResourceMiningTypes
enum definition.ResourceMiningTypes
fromutils/utils
.BattleDetails.tsx
Remove redundant CSS class in BattleDetails component
client/src/ui/modules/military/battle-view/BattleDetails.tsx
p-2
class from thediv
element.StructureConstructionMenu.tsx
Clean up unused imports in StructureConstructionMenu
client/src/ui/components/structures/construction/StructureConstructionMenu.tsx
BattleView.tsx
Remove unused variable in BattleView component
client/src/ui/modules/military/battle-view/BattleView.tsx
armiesAtPosition
variable.