mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-28 12:19:10 +03:00
lol, totally wrong logic
This commit is contained in:
parent
afc13c0d7e
commit
48b21ec42d
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function Search(props) {
|
||||||
setHashtagResults(results.hashtags);
|
setHashtagResults(results.hashtags);
|
||||||
if (type) {
|
if (type) {
|
||||||
offsetRef.current = LIMIT;
|
offsetRef.current = LIMIT;
|
||||||
setShowMore(results[type]?.length >= LIMIT);
|
setShowMore(!!results[type]?.length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setUiState('default');
|
setUiState('default');
|
||||||
|
|
Loading…
Add table
Reference in a new issue