ui: add tooptips to portfolio and follow

This commit is contained in:
Sosokker 2024-11-11 12:16:01 +07:00
parent 7039e5be4e
commit 73d5995d5b

View File

@ -41,12 +41,16 @@ export const AuthenticatedComponents = ({ uid, avatarUrl, notificationCount }: A
</div> </div>
</Link> </Link>
</CustomTooltip> </CustomTooltip>
<Link href="/follow"> <CustomTooltip message="Followed">
<Heart /> <Link href="/follow">
</Link> <Heart />
<Link href={"/portfolio/" + uid}> </Link>
<Wallet className="cursor-pointer" /> </CustomTooltip>
</Link> <CustomTooltip message="Portfolio">
<Link href={"/portfolio/" + uid}>
<Wallet className="cursor-pointer" />
</Link>
</CustomTooltip>
{/*chart pie icon for bussiness's dashboard */} {/*chart pie icon for bussiness's dashboard */}
{data?.role === "business" && ( {data?.role === "business" && (
<CustomTooltip message="Dashboard"> <CustomTooltip message="Dashboard">