From 9212db100b0df25a612078e6563324c1c1514e49 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 12 Jul 2022 17:37:05 -0700 Subject: [PATCH] Use the actual summary text --- web/components/common/StreamInfo/StreamInfo.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/components/common/StreamInfo/StreamInfo.tsx b/web/components/common/StreamInfo/StreamInfo.tsx index 3ccbd4060..aed005432 100644 --- a/web/components/common/StreamInfo/StreamInfo.tsx +++ b/web/components/common/StreamInfo/StreamInfo.tsx @@ -18,7 +18,8 @@ interface Props { isMobile: boolean; } export default function StreamInfo({ isMobile }: Props) { - const { socialHandles, name, title, tags } = useRecoilValue(clientConfigStateAtom); + const { socialHandles, name, title, tags, summary } = + useRecoilValue(clientConfigStateAtom); const { viewerCount } = useRecoilValue(serverStatusState); const online = useRecoilValue(isOnlineSelector); @@ -54,7 +55,7 @@ export default function StreamInfo({ isMobile }: Props) {
{name}
- {title || 'Stream title or server description goes here'} + {title || summary}