diff --git a/components/gweets/components/gweet-author.tsx b/components/gweets/components/gweet-author.tsx index 632b8c84959f49c46042416504cf344c679caee0..524f4a2c80dedd8b767b5a4e1dadfce6299db691 100644 --- a/components/gweets/components/gweet-author.tsx +++ b/components/gweets/components/gweet-author.tsx @@ -1,16 +1,16 @@ import { UserAvatar } from "@/components/user-avatar"; +import Link from "next/link"; import { IGweet } from "../types"; import { GweetOptions } from "./gweet-options"; -import Link from "next/link"; export const GweetAuthor = ({ gweet }: { gweet: IGweet }) => { return ( <div className="flex items-center"> <Link href={`/${gweet.author.username}`}> - <UserAvatar - user={{ username: gweet.author.username, image: gweet.author.image }} - className="h-10 w-10" - /> + <UserAvatar + user={{ username: gweet.author.username, image: gweet.author.image }} + className="h-10 w-10" + /> </Link> <div className="flex flex-col ml-3"> <span className="font-bold">{gweet.author.name}</span>