+4
-2
src/components/login.tsx
+4
-2
src/components/login.tsx
···
11
11
resolveFromService,
12
12
type Session,
13
13
} from "@atcute/oauth-browser-client";
14
-
import { createSignal } from "solid-js";
14
+
import { createSignal, Show } from "solid-js";
15
15
import { TextInput } from "./text-input";
16
16
17
17
configureOAuth({
···
74
74
<span class="iconify lucide--log-in text-lg"></span>
75
75
</button>
76
76
</div>
77
-
<div>{notice()}</div>
77
+
<Show when={notice()}>
78
+
<div>{notice()}</div>
79
+
</Show>
78
80
</form>
79
81
);
80
82
};