Skip to content

Commit

Permalink
Reload comments on channel page even if state is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
toshokanneko committed Aug 7, 2023
1 parent 92b150e commit d069aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/component/commentsList/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default function CommentList(props: Props & StateProps & DispatchProps) {

// Force comments reset
useEffect(() => {
if (page === 0) {
if (page >= 0) {
handleReset();
}
}, [handleReset, page]);
Expand Down

0 comments on commit d069aa0

Please sign in to comment.