diff --git a/src/components/account.tsx b/src/components/account.tsx index d85c5c4..6132251 100644 --- a/src/components/account.tsx +++ b/src/components/account.tsx @@ -69,8 +69,7 @@ const AccountManager = () => { <> setOpenManager(false)}>
-
- +
Manage accounts
diff --git a/src/components/login.tsx b/src/components/login.tsx index 726194e..2ced4e2 100644 --- a/src/components/login.tsx +++ b/src/components/login.tsx @@ -12,7 +12,6 @@ import { type Session, } from "@atcute/oauth-browser-client"; import { createSignal, Show } from "solid-js"; -import { TextInput } from "./text-input"; configureOAuth({ metadata: { @@ -29,6 +28,7 @@ const Login = () => { const login = async (handle: string) => { try { + setNotice(""); if (!handle) return; let resolved; if (!isHandle(handle)) { @@ -58,24 +58,32 @@ const Login = () => { return (
e.preventDefault()}>
-
-
{notice()}
+
{notice()}
); diff --git a/src/components/search.tsx b/src/components/search.tsx index d5a230c..5faef0f 100644 --- a/src/components/search.tsx +++ b/src/components/search.tsx @@ -99,18 +99,18 @@ const Search = () => { -
- + + > setInput(e.currentTarget.value)} />