mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-09-11 14:36:35 +03:00
fix(nav): use person icon instead of email
This commit is contained in:
parent
30ffda1313
commit
8522b95814
@ -3,7 +3,7 @@ import { useSupabase } from "@/app/supabase-provider";
|
||||
import { cn } from "@/lib/utils";
|
||||
import Link from "next/link";
|
||||
import { Dispatch, FC, HTMLAttributes, SetStateAction } from "react";
|
||||
import { MdSettings } from "react-icons/md";
|
||||
import { MdPerson, MdSettings } from "react-icons/md";
|
||||
import Button from "../../../ui/Button";
|
||||
import { AuthButtons } from "./components/AuthButtons";
|
||||
import { DarkModeToggle } from "./components/DarkModeToggle";
|
||||
@ -54,8 +54,8 @@ export const NavItems: FC<NavItemsProps> = ({
|
||||
<div className="flex sm:flex-1 sm:justify-end flex-col items-center justify-center sm:flex-row gap-5 sm:gap-2">
|
||||
{isUserLoggedIn && (
|
||||
<>
|
||||
<Link className="" href={"/user"}>
|
||||
{session.user.email}
|
||||
<Link aria-label="account" className="" href={"/user"}>
|
||||
<MdPerson />
|
||||
</Link>
|
||||
<Link href={"/config"}>
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user