Fix Reload button bug introduced in 59df221

This commit is contained in:
Christopher Gurnee 2022-02-25 10:13:05 -05:00
parent 8204f0829a
commit 1e1a78fbe9

View file

@ -48,7 +48,7 @@ const sortBy = props => {
{ maxCommentsField > props.global.state.maxComments && props.global.state.maxComments < maxCommentsLimit && !props.reloadingComments &&
<span className='nowrap'>
<span className='space' />
<input onClick={() => {props.global.loadMaxComments(); setReloadVisible(false)}} type='button' value='Reload' />
<input onClick={() => {props.global.loadMaxComments()}} type='button' value='Reload' />
</span> }
</div>
)