fix: logged out

This commit is contained in:
verbiricha 2023-07-31 13:01:47 +02:00
parent cfc5c84bc9
commit 65fd21f334

View File

@ -80,8 +80,8 @@ export function LiveChat({
}, [feed.zaps]);
const mutedPubkeys = useMemo(() => {
return new Set(getTagValues(login.muted.tags, "p"));
}, [login.muted.tags]);
return new Set(getTagValues(login?.muted.tags ?? [], "p"));
}, [login]);
const userEmojiPacks = login?.emojis ?? [];
const channelEmojiPacks = useEmoji(host);
const allEmojiPacks = useMemo(() => {