Chore: sort proxies ascending by default (#27)

This commit is contained in:
Wenda Huang 2020-04-19 23:09:36 +08:00 committed by GitHub
parent a2f16db405
commit 17b24c4f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ export default function Proxies () {
}
const { current: sort, next } = useRound(
[sortType.None, sortType.Asc, sortType.Desc]
[sortType.Asc, sortType.Desc, sortType.None]
)
const proxies = useMemo(() => {
switch (sort) {