Skip to content

Commit

Permalink
[system] Add a missing key attribute in getInitColorScheme to fix key…
Browse files Browse the repository at this point in the history
… issue (#34992)
  • Loading branch information
akshaya-venkatesh8 committed Nov 3, 2022
1 parent 2085002 commit 7a13baa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default function getInitColorSchemeScript(options?: GetInitColorSchemeScr
} = options || {};
return (
<script
key="mui-color-scheme-init"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{
__html: `(function() { try {
Expand Down

0 comments on commit 7a13baa

Please sign in to comment.