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}