From 1e1a78fbe999bc82ed6f0c7f82855cfee17a0886 Mon Sep 17 00:00:00 2001 From: Christopher Gurnee Date: Fri, 25 Feb 2022 10:13:05 -0500 Subject: [PATCH] Fix Reload button bug introduced in 59df221 --- src/pages/thread/SortBy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/thread/SortBy.js b/src/pages/thread/SortBy.js index 7e96c7a..26ac413 100644 --- a/src/pages/thread/SortBy.js +++ b/src/pages/thread/SortBy.js @@ -48,7 +48,7 @@ const sortBy = props => { { maxCommentsField > props.global.state.maxComments && props.global.state.maxComments < maxCommentsLimit && !props.reloadingComments && - {props.global.loadMaxComments(); setReloadVisible(false)}} type='button' value='Reload' /> + {props.global.loadMaxComments()}} type='button' value='Reload' /> } )