Compare commits

..

1 Commits

2 changed files with 2 additions and 9 deletions
-2
View File
@@ -772,8 +772,6 @@ export const getSpaceRoomsFromGroupList = (url: string, groupList: List | undefi
export const userGroupList = makeUserData(groupListsByPubkey, loadGroupList)
export const deriveUserGroupList = userGroupList
export const loadUserGroupList = makeUserLoader(loadGroupList)
export const userSpaceUrls = derived(userGroupList, getSpaceUrlsFromGroupList)
+2 -7
View File
@@ -15,12 +15,7 @@
import SpaceJoin from "@app/components/SpaceJoin.svelte"
import {pushModal} from "@app/util/modal"
import {makeSpacePath} from "@app/util/routes"
import {
decodeRelay,
deriveUserGroupList,
relaysPendingTrust,
userSpaceUrls,
} from "@app/core/state"
import {decodeRelay, userGroupList, relaysPendingTrust, userSpaceUrls} from "@app/core/state"
import {deriveRelayAuthError} from "@app/core/commands"
type Props = {
@@ -50,7 +45,7 @@
// Direct links skip Discover — prompt to join when relay is not in the user's space list.
const shouldPromptJoin = $derived.by(() => {
void $deriveUserGroupList
void $userGroupList
return (
Boolean($pubkey) &&