fix hashtag ordering (#2107)

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
This commit is contained in:
Dean Bassett 2023-02-12 09:58:02 -08:00 committed by GitHub
parent 8eb74c88ec
commit ee42505452
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,9 +282,9 @@ const sortHashtagsByUse = (state, tags) => {
if (usedA === usedB) { if (usedA === usedB) {
return 0; return 0;
} else if (usedA && !usedB) { } else if (usedA && !usedB) {
return 1;
} else {
return -1; return -1;
} else {
return 1;
} }
}); });
}; };