lol, totally wrong logic

This commit is contained in:
Lim Chee Aun 2023-07-13 23:12:05 +08:00
parent afc13c0d7e
commit 48b21ec42d

View file

@ -103,7 +103,7 @@ function Search(props) {
setHashtagResults(results.hashtags);
if (type) {
offsetRef.current = LIMIT;
setShowMore(results[type]?.length >= LIMIT);
setShowMore(!!results[type]?.length);
}
}
setUiState('default');