fix hashtag ordering (#2107)

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
th-downstream
Dean Bassett 2 years ago committed by GitHub
parent 84c2fdb503
commit ab546780eb

@ -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;
} }
}); });
}; };

Loading…
Cancel
Save