-
-
Couldn't load subscription status.
- Fork 32.7k
[system][InitColorSchemeScript] Use let/const instead of var
#43468
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] Use let/const instead of var
#43468
Conversation
packages/mui-system/src/InitColorSchemeScript/InitColorSchemeScript.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
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.
👍 Thanks for your contribution!
Netlify deploy previewhttps://deploy-preview-43468--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
My pleasure! Thanks for the review @siriwatknp :) |
packages/mui-system/src/InitColorSchemeScript/InitColorSchemeScript.tsx
Outdated
Show resolved
Hide resolved
…ial-ui into 43418-use-let-instead-of-var
This PR replaces the
varusage with the ES6 recommendedlet/constin the code snippet.Fixes #43418