mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-19 15:04:20 +01:00
update
This commit is contained in:
@@ -29,12 +29,6 @@ const Home: Component = () => {
|
|||||||
const pubkey = usePubkey();
|
const pubkey = usePubkey();
|
||||||
const commands = useCommands();
|
const commands = useCommands();
|
||||||
|
|
||||||
onMount(() => {
|
|
||||||
if (!loginStatus().loggedIn) {
|
|
||||||
navigate('/hello');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
config().relayUrls.map(async (relayUrl) => {
|
config().relayUrls.map(async (relayUrl) => {
|
||||||
const relay = await pool().ensureRelay(relayUrl);
|
const relay = await pool().ensureRelay(relayUrl);
|
||||||
@@ -128,6 +122,12 @@ const Home: Component = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
onMount(() => {
|
||||||
|
if (!loginStatus().loggedIn) {
|
||||||
|
navigate('/hello');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
const japaneseRegex = /[あ-ん]/;
|
const japaneseRegex = /[あ-ん]/;
|
||||||
return (
|
return (
|
||||||
<div class="flex h-screen w-screen flex-row overflow-hidden">
|
<div class="flex h-screen w-screen flex-row overflow-hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user