chore: make banner bigger
fix: logged out chat
This commit is contained in:
parent
b4ec25eeb4
commit
160d9261fe
@ -147,7 +147,7 @@ export function LiveChat({
|
||||
if (!e.pubkey) return true; // injected content
|
||||
const author = NostrLink.publicKey(e.pubkey);
|
||||
return (
|
||||
!(login?.state?.muted.some(a => a.equals(author)) ?? true) && !hostMutedPubkeys.some(a => a.equals(author))
|
||||
!(login?.state?.muted.some(a => a.equals(author)) ?? false) && !hostMutedPubkeys.some(a => a.equals(author))
|
||||
);
|
||||
});
|
||||
}, [events, login?.state?.version, hostMutedPubkeys]);
|
||||
|
@ -9,15 +9,16 @@ import useImgProxy from "@/hooks/img-proxy";
|
||||
export function RootPage() {
|
||||
const streams = useStreamsFeed();
|
||||
const { proxy } = useImgProxy();
|
||||
|
||||
const shirtSize = 120;
|
||||
return (
|
||||
<div className="flex flex-col gap-6 p-4">
|
||||
<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty">
|
||||
<img
|
||||
width={40}
|
||||
width={shirtSize}
|
||||
className="rounded-xl"
|
||||
src={proxy(
|
||||
"https://blossom.nogood.studio/f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8.png",
|
||||
40,
|
||||
shirtSize,
|
||||
"f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8",
|
||||
)}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user