mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
Only shows the Loading component when there is no search value
This commit is contained in:
1 parent
5db9ea6520
commit
10cd53b40b
1 file changed
+1
-1
@@ -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