Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 54e59a6

Browse files
committed
sort accounts alphabetically (but why??)
1 parent a9998b5 commit 54e59a6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/js/profiles/DefaultProfilePage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ import { defaultAvatarImage } from '@components/ui/common/constants'
3535
const logger = log4js.getLogger(__filename)
3636

3737
const accountTypes = [
38-
'twitter',
39-
'facebook',
4038
'bitcoin',
41-
'instagram'
39+
'facebook',
40+
'instagram',
41+
'twitter'
4242
]
4343

4444
const hiddenAccountTypes = ['linkedIn', 'instagram']

test/profiles/DefaultProfilePage.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function setup(accounts = []) {
3838
}
3939

4040
function alphabeticalOrdered(accounts) {
41-
return accounts.first().props().service <
41+
return accounts.first().props().service <=
4242
accounts.last().props().service
4343
}
4444

0 commit comments

Comments
 (0)