Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove test warning

dominik-zeglen7938a36c25d7
diff --git a/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx b/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx
index 91a23f69bb..87c9a0c568 100644
--- a/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx
+++ b/saleor/static/dashboard-next/navigation/components/MenuItemDialog/MenuItemDialog.tsx
@@ -259,7 +259,9 @@ const MenuItemDialog: React.StatelessComponent<MenuItemDialogProps> = ({
<>
<FormSpacer />
{mutationErrors.map(err => (
- <Typography color="error">{err}</Typography>
+ <Typography key={err} color="error">
+ {err}
+ </Typography>
))}
</>
)}
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index 3c95f0548f..26bef4379c 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -79,9 +79,6 @@ export default (colors: IThemeColors): Theme =>
MuiFormLabel: {
filled: {
color: [[colors.primary], "!important"] as any
- },
- focused: {
- color: [[colors.primary], "!important"] as any
}
},
MuiIconButton: {