mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
Chore: sort proxies ascending by default (#27)
This commit is contained in:
parent
a2f16db405
commit
17b24c4f49
@ -39,7 +39,7 @@ export default function Proxies () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { current: sort, next } = useRound(
|
const { current: sort, next } = useRound(
|
||||||
[sortType.None, sortType.Asc, sortType.Desc]
|
[sortType.Asc, sortType.Desc, sortType.None]
|
||||||
)
|
)
|
||||||
const proxies = useMemo(() => {
|
const proxies = useMemo(() => {
|
||||||
switch (sort) {
|
switch (sort) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user