itizawa 6 лет назад
Родитель
Сommit
4c9ea5cdf9
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/client/js/components/Admin/Customize/CustomizeThemeOptions.jsx

+ 2 - 0
src/client/js/components/Admin/Customize/CustomizeThemeOptions.jsx

@@ -46,6 +46,7 @@ class CustomizeThemeOptions extends React.Component {
           {lightTheme.map((theme) => {
           {lightTheme.map((theme) => {
             return (
             return (
               <ThemeColorBox
               <ThemeColorBox
+                key={theme.name}
                 isSelected={currentTheme === theme.name}
                 isSelected={currentTheme === theme.name}
                 onSelected={() => adminCustomizeContainer.switchThemeType(theme.name)}
                 onSelected={() => adminCustomizeContainer.switchThemeType(theme.name)}
                 name={theme.name}
                 name={theme.name}
@@ -61,6 +62,7 @@ class CustomizeThemeOptions extends React.Component {
           {darkTheme.map((theme) => {
           {darkTheme.map((theme) => {
             return (
             return (
               <ThemeColorBox
               <ThemeColorBox
+                key={theme.name}
                 isSelected={currentTheme === theme.name}
                 isSelected={currentTheme === theme.name}
                 onSelected={() => adminCustomizeContainer.switchThemeType(theme.name)}
                 onSelected={() => adminCustomizeContainer.switchThemeType(theme.name)}
                 name={theme.name}
                 name={theme.name}