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 (mui#34992)
  • Loading branch information
akshaya-venkatesh8 authored and felipe.richter committed Dec 6, 2022
1 parent a71f8d0 commit 2660061
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 2660061

Please sign in to comment.