diff --git a/src/element/live-chat.tsx b/src/element/live-chat.tsx index 6b01642..070649e 100644 --- a/src/element/live-chat.tsx +++ b/src/element/live-chat.tsx @@ -79,6 +79,7 @@ export function LiveChat({ link, options }: { link: NostrLink, options?: LiveCha return } } + return null; })} {messages.data === undefined && } diff --git a/src/element/profile.tsx b/src/element/profile.tsx index f97d9ff..dce4296 100644 --- a/src/element/profile.tsx +++ b/src/element/profile.tsx @@ -18,7 +18,7 @@ export function Profile({ pubkey, options }: { pubkey: string, options?: Profile const profile = useUserProfile(System, pubkey); return
- + Profile {(options?.showName ?? true) && getName(pubkey, profile)}
} \ No newline at end of file