mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
update
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user