diff --git a/src/Pages/Account/index.jsx b/src/Pages/Account/index.jsx index 48b0984f5..429b8dd4d 100644 --- a/src/Pages/Account/index.jsx +++ b/src/Pages/Account/index.jsx @@ -3,6 +3,7 @@ import PropTypes from "prop-types"; import { useNavigate } from "react-router"; import { useSelector } from "react-redux"; import { Box, Tab, useTheme } from "@mui/material"; +import TabListWrapper from "../../Components/Tab"; import TabContext from "@mui/lab/TabContext"; import TabList from "@mui/lab/TabList"; import ProfilePanel from "../../Components/TabPanels/Account/ProfilePanel"; @@ -59,29 +60,18 @@ const Account = ({ open = "profile" }) => { py={theme.spacing(12)} > - - - {tabList.map((label, index) => ( - handleFocus(label.toLowerCase())} - tabIndex={index} - /> - ))} - - + + {tabList.map((label, index) => ( + handleFocus(label.toLowerCase())} + tabIndex={index} + /> + ))} + {user.role.includes("superadmin") && } {!hideTeams && }