Skip to content
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

[system] initColorSchemeScript.tsx uses var instead of let/const #43484

Closed
wants to merge 1 commit into from
Closed

[system] initColorSchemeScript.tsx uses var instead of let/const #43484

wants to merge 1 commit into from

Conversation

Michael-Hutchinson
Copy link
Contributor

@Michael-Hutchinson Michael-Hutchinson commented Aug 27, 2024

refactor: replace var with let/const

Replace var declarations with let and const to follow ES6 best practices and improve code quality.

Closes 43418

@Michael-Hutchinson Michael-Hutchinson changed the title [system] initColorSchemeScript.tsx uses var instead of let [system] initColorSchemeScript.tsx uses var instead of let/const Aug 27, 2024
@mui-bot
Copy link

mui-bot commented Aug 27, 2024

Netlify deploy preview

https://deploy-preview-43484--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 5ddfb5a

@oliviertassinari
Copy link
Member

Duplicate of #43468

@oliviertassinari oliviertassinari marked this as a duplicate of #43468 Aug 27, 2024
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists package: system Specific to @mui/system labels Aug 27, 2024
@Michael-Hutchinson Michael-Hutchinson deleted the fix/43418-initColorSchemeScript-uses-var branch August 27, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists package: system Specific to @mui/system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[system] initColorSchemeScript.tsx uses var instead of let
3 participants