This commit is contained in:
Shusui MOYATANI
2023-03-07 03:01:55 +09:00
parent 7109c8f94e
commit cf17f48699

View File

@@ -29,12 +29,6 @@ const Home: Component = () => {
const pubkey = usePubkey();
const commands = useCommands();
onMount(() => {
if (!loginStatus().loggedIn) {
navigate('/hello');
}
});
createEffect(() => {
config().relayUrls.map(async (relayUrl) => {
const relay = await pool().ensureRelay(relayUrl);
@@ -128,6 +122,12 @@ const Home: Component = () => {
});
};
onMount(() => {
if (!loginStatus().loggedIn) {
navigate('/hello');
}
});
const japaneseRegex = /[あ-ん]/;
return (
<div class="flex h-screen w-screen flex-row overflow-hidden">