fix-superchats

This commit is contained in:
zeppi 2021-06-18 19:44:30 -04:00 committed by Thomas Zarebczan
parent 8d885f78fe
commit ad2b906f3c
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -156,7 +156,7 @@ export default function LivestreamComments(props: Props) {
</div>
)}
<div ref={commentsRef} className="livestream__comments-wrapper">
{viewMode === VIEW_MODE_CHAT && superChatsTotalAmount > 0 && (
{viewMode === VIEW_MODE_CHAT && superChatsTotalAmount > 0 && superChats && (
<div className="livestream-superchats__wrapper">
<div className="livestream-superchats__inner">
{superChats.map((superChat: Comment) => (