fix hashtag ordering (#2107)

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
lolsob-rspec
Dean Bassett 2023-02-12 09:58:02 -08:00 committed by GitHub
parent 84c2fdb503
commit ab546780eb
1 changed files with 2 additions and 2 deletions

View File

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