Skip to content

Commit

Permalink
fix build failed issue
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Amrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Jun 24, 2024
1 parent 06c7fa9 commit 0022b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AudioLines, ArrowLeftRightIcon } from "lucide-react";
import UserAvatar from "./UserAvatar";
import LogoutButton from "./LogoutButton";
import { currentUser } from "@/lib/auth";
import { User } from "@prisma/client";
import { User } from "@/type";

export interface NavbarProps {
remoteUser?: User | undefined | null;
Expand Down Expand Up @@ -32,8 +32,8 @@ const Navbar: React.FC<NavbarProps> = async (props) => {
<ArrowLeftRightIcon fontSize={20} />
{remoteUser ? (
<UserAvatar
username={remoteUser?.username || "Someone"}
src={remoteUser?.profile_image || ""}
username={remoteUser?.name || "Someone"}
src={remoteUser?.picture || ""}
height={40}
width={40}
/>
Expand Down

0 comments on commit 0022b27

Please sign in to comment.