This commit is contained in:
YasinShaikh123
2024-11-07 19:32:57 +05:30

View File

@@ -6,6 +6,8 @@ import logoMiniDark from "../assets/favicon.png";
import { useDispatch } from "react-redux";
import { loginUser } from "../Redux/Slice/auth";
import Button02 from "../Components/Buttons/Button02";
import { CgProfile } from "react-icons/cg";
import {
TbArrowBadgeLeftFilled,
TbListDetails,
@@ -175,6 +177,12 @@ const DashboardLayout = ({ isOnline }) => {
<VscSymbolClass className="h4 m-0" /> Investment Type
</span>
);
case path.startsWith("/profile"):
return (
<span className="d-flex align-items-end gap-2">
<CgProfile className="h4 m-0" /> Profile
</span>
);
case path.startsWith("/exchange-rate"):
return (
<span className="d-flex align-items-end gap-2">