1
0
Fork 0
mirror of https://github.com/cheeaun/phanpy.git synced 2025-03-31 21:53:42 +03:00

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); 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');