update navigation

This commit is contained in:
Ren Amamiya
2023-05-12 15:09:29 +07:00
parent 7bd38f3c74
commit 5fc3f2f929
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ export function Page() {
const searchParams: any = pageContext.urlParsed.search;
const channelID = searchParams.id;
const channelPubkey = searchParams.pubkey;
const channelPubkey = searchParams.channelpub;
const { account, isLoading, isError } = useActiveAccount();
const { data: muted } = useSWR(!isLoading && !isError && account ? ['muted', account.id] : null, fetchMuted);