diff --git a/apps/X/app/lib/auth.ts b/apps/X/app/lib/auth.ts index aee4889..e70cd25 100644 --- a/apps/X/app/lib/auth.ts +++ b/apps/X/app/lib/auth.ts @@ -13,6 +13,7 @@ declare module "next-auth" { name?: string | null; email?: string | null; image?: string | null; + username?: string | null; }; } } diff --git a/apps/X/src/components/ui/TweetComp.tsx b/apps/X/src/components/ui/TweetComp.tsx index 0309f4c..a481a5b 100644 --- a/apps/X/src/components/ui/TweetComp.tsx +++ b/apps/X/src/components/ui/TweetComp.tsx @@ -84,9 +84,9 @@ export const TweetComp = ({ tweet }: TweetProps) => {
mscode
-@mscode07
+{session?.user?.name}
++ @{session?.user?.username} +