Skip to content

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. scope: system The system, the design tokens / styling foundations used across components. eg. @mui/system with MUI 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. scope: system The system, the design tokens / styling foundations used across components. eg. @mui/system with MUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[system] initColorSchemeScript.tsx uses var instead of let

3 participants