From bab14a9c29330478208782fe57255c2889005145 Mon Sep 17 00:00:00 2001 From: rimar1337 <132627503+rimar1337@users.noreply.github.com> Date: Tue, 2 Sep 2025 12:26:25 +0700 Subject: [PATCH] login greet with handle and pfp --- src/components/Login.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/Login.tsx b/src/components/Login.tsx index 92d17d6..642773d 100644 --- a/src/components/Login.tsx +++ b/src/components/Login.tsx @@ -6,7 +6,7 @@ interface LoginProps { } export default function Login({ compact = false }: LoginProps) { - const { loginStatus, login, logout, loading, authed } = useAuth(); + const { loginStatus, login, logout, loading, authed, agent } = useAuth(); const [user, setUser] = useState(""); const [password, setPassword] = useState(""); const [serviceURL, setServiceURL] = useState("bsky.social"); @@ -112,12 +112,13 @@ export default function Login({ compact = false }: LoginProps) {
{authed ? (
-

+

You are logged in!

+ @@ -193,6 +194,7 @@ export const ProfileThing = () => { }; if (!authed) { + return return (
@@ -218,7 +220,7 @@ export const ProfileThing = () => { alt="avatar" className="w-[30px] h-[30px] rounded-full object-cover" /> -
+
{response?.displayName}
@{response?.handle}
-- 2.51.2