Use the actual summary text
This commit is contained in:
@@ -18,7 +18,8 @@ interface Props {
|
|||||||
isMobile: boolean;
|
isMobile: boolean;
|
||||||
}
|
}
|
||||||
export default function StreamInfo({ isMobile }: Props) {
|
export default function StreamInfo({ isMobile }: Props) {
|
||||||
const { socialHandles, name, title, tags } = useRecoilValue<ClientConfig>(clientConfigStateAtom);
|
const { socialHandles, name, title, tags, summary } =
|
||||||
|
useRecoilValue<ClientConfig>(clientConfigStateAtom);
|
||||||
const { viewerCount } = useRecoilValue<ServerStatus>(serverStatusState);
|
const { viewerCount } = useRecoilValue<ServerStatus>(serverStatusState);
|
||||||
const online = useRecoilValue<boolean>(isOnlineSelector);
|
const online = useRecoilValue<boolean>(isOnlineSelector);
|
||||||
|
|
||||||
@@ -54,7 +55,7 @@ export default function StreamInfo({ isMobile }: Props) {
|
|||||||
<div className={s.titleSection}>
|
<div className={s.titleSection}>
|
||||||
<div className={s.title}>{name}</div>
|
<div className={s.title}>{name}</div>
|
||||||
<div className={s.subtitle}>
|
<div className={s.subtitle}>
|
||||||
{title || 'Stream title or server description goes here'}
|
{title || summary}
|
||||||
<CategoryIcon tags={tags} />
|
<CategoryIcon tags={tags} />
|
||||||
</div>
|
</div>
|
||||||
<div className={s.tagList}>
|
<div className={s.tagList}>
|
||||||
|
|||||||
Reference in New Issue
Block a user