update roles ⚠️

This commit is contained in:
2024-10-11 17:26:27 +05:30
parent 6c16d142d6
commit 2df6ea41a4
6 changed files with 51 additions and 26 deletions

View File

@@ -31,6 +31,7 @@ const HeaderMain = ({
icon,
logOutHandler,
slideDirecttion,
data
}) => {
const navigate = useNavigate()
const { colorMode, toggleColorMode } = useContext(GlobalStateContext);
@@ -100,10 +101,10 @@ const HeaderMain = ({
className=" overflow-hidden ms-3 flex-column "
>
<Text as={"span"} className="web-text-small">
Hello, Tanami admin
Hello, {data?.data?.firstName} {data?.data?.lastName}
</Text>
<Text as={"span"} className="web-text-xsmall">
admin@tanami.com
{data?.data?.emailAddress}
</Text>
</Box>
</Box>