Fetch last 75 comments for livestreams

We only show 75 anyway...
This commit is contained in:
Thomas Zarebczan 2021-05-21 15:48:43 -04:00
parent 09d8b38073
commit b4da616176
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -17,7 +17,7 @@ type Props = {
embed?: boolean,
doCommentSocketConnect: (string, string) => void,
doCommentSocketDisconnect: (string) => void,
doCommentList: (string) => void,
doCommentList: (string, number, number) => void,
comments: Array<Comment>,
fetchingComments: boolean,
doSuperChatList: (string) => void,
@ -66,7 +66,7 @@ export default function LivestreamComments(props: Props) {
React.useEffect(() => {
if (claimId) {
doCommentList(uri);
doCommentList(uri, 1, 75);
doSuperChatList(uri);
doCommentSocketConnect(uri, claimId);
}