Fetch last 75 comments for livestreams
We only show 75 anyway...
This commit is contained in:
parent
09d8b38073
commit
b4da616176
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue