refactor: migrate Footer component from deprecated makeStyles to MUI v5 styled API#408
Open
DevaanshKathuria wants to merge 2 commits into
Open
Conversation
Removed commented-out styled components section.
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.
Description
Migrates src/components/Footer/index.jsx from the deprecated @mui/styles makeStyles API to the MUI v5 styled() API as part of the ongoing MUI v4 → v5 migration.
Related Issue
Part of #314 (refactor: Migrate deprecated MUI v4 components to MUI v5)
Motivation and Context
The Footer component was using makeStyles from @mui/styles which is deprecated in MUI v5 and contributes to the peer dependency conflicts seen during npm install. The inline useStyles hook was also instantiated inside the component body which is an anti-pattern. Migrating to styled() removes the deprecated dependency and follows the MUI v5 best practices being adopted across the codebase.
How Has This Been Tested?
Screenshots or GIF (In case of UI changes):
Types of changes
Checklist: