Updated load more button
- Hide load more button if is disabled or not visible - Show loader if no load more
This commit is contained in:
@@ -32,6 +32,8 @@ class LoadMore extends PureComponent {
|
||||
intl,
|
||||
} = this.props
|
||||
|
||||
if (!visible || disabled) return null
|
||||
|
||||
return (
|
||||
<div className={[_s.default, _s.py10, _s.px10].join(' ')}>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user