mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 09:29:20 +08:00
Only shows the Loading component when there is no search value
This commit is contained in:
@@ -47,7 +47,7 @@ const People = ({isFetching, commenters, searchValue, onSearchChange, ...props})
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.mainContent}>
|
||||
{ isFetching && <Loading /> }
|
||||
{ isFetching && (searchValue === null) && <Loading /> }
|
||||
{
|
||||
hasResults
|
||||
? <Table
|
||||
|
||||
Reference in New Issue
Block a user