Skip to content

refactor: migrate Divider component from deprecated makeStyles to MUI v5 styled API#411

Open
DevaanshKathuria wants to merge 1 commit into
c2siorg:developfrom
DevaanshKathuria:refactor/divider-mui-v5-migration
Open

refactor: migrate Divider component from deprecated makeStyles to MUI v5 styled API#411
DevaanshKathuria wants to merge 1 commit into
c2siorg:developfrom
DevaanshKathuria:refactor/divider-mui-v5-migration

Conversation

@DevaanshKathuria
Copy link
Copy Markdown

Description

Migrates src/globalComponents/Divider.jsx from deprecated @mui/styles makeStyles to MUI v5 styled() API as part of #314.

Related Issue

Part of #314

Motivation and Context

The Divider component was using makeStyles from @mui/styles which is deprecated in MUI v5. Replaced with three styled components: Container, Border, and Content; zero functional or visual changes.

How Has This Been Tested?

  • Ran npm run dev successfully
  • No new console errors introduced
  • No visual regression

Screenshots or GIF (In case of UI changes):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

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