-
{item.text}
-
- {item.isNew && }
-
+
+
+
{item.text}
+
+ {item.isNew ? (
+
+ ) : (
+ <>>
+ )}
-
+
+
- {hasSubMenu ? (
- open ? (
-
- ) : (
-
- )
+ {hasSubMenu ? (
+ open ? (
+
) : (
- <>>
- )}
-
+
+ )
+ ) : (
+ <>>
+ )}
{hasSubMenu && (
= ({
onClick={() => setOpen(false)}
/>
))}
-
- {
- setOpen(false);
- }}
- >
-
-
- Close
-
-
-
+ {
+ setOpen(false);
+ }}
+ >
+
+
+ Close
+
+
-
-
+
+
diff --git a/src/components/Header/StyledMenu.tsx b/src/components/Header/StyledMenu.tsx
index b87eb5f2e..e533799e4 100644
--- a/src/components/Header/StyledMenu.tsx
+++ b/src/components/Header/StyledMenu.tsx
@@ -1,6 +1,5 @@
import * as React from 'react';
-import { styled, alpha } from '@mui/material/styles';
-import Menu, { MenuProps } from '@mui/material/Menu';
+import { MenuProps, styled, Menu } from "@material-ui/core"
export const StyledMenu = styled((props: MenuProps) => (