Compare commits

..

No commits in common. "a9a1f8067a482d281e74abdc178acb61d88d1a8c" and "5b6d5f085e42a65453b78e9da3b0cea468526d95" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View file

@ -131,11 +131,10 @@ export const suggestUsers = ({ dispatch, state }) => {
const diff = (bScore - aScore) * 10
// Then sort alphabetically
const activity = a.last_status_at < b.last_status_at ? 100 : -100
const nameAlphabetically = a.name > b.name ? 1 : -1
const screenNameAlphabetically = a.screen_name > b.screen_name ? 1 : -1
return diff + nameAlphabetically + screenNameAlphabetically + activity
return diff + nameAlphabetically + screenNameAlphabetically
})
.map((user) => ({
user,

View file

@ -244,7 +244,6 @@ export const parseUser = (data) => {
output.created_at = new Date(data.created_at)
output.locked = data.locked
output.last_status_at = new Date(data.last_status_at)
output.followers_count = data.followers_count
output.statuses_count = data.statuses_count