板块资金流向默认按升序排序

This commit is contained in:
Sakurasan
2026-07-13 21:03:31 +08:00
parent 65013dad3e
commit 677482639d
+1 -1
View File
@@ -21,7 +21,7 @@ type SortKey = "mainNetInflow" | "changePercent";
function SectorsPage() {
const [tab, setTab] = useState<SectorType>("industry");
const [sortKey, setSortKey] = useState<SortKey>("mainNetInflow");
const [asc, setAsc] = useState(false);
const [asc, setAsc] = useState(true);
const { data = [], isLoading, isFetching, refetch } = useQuery({
queryKey: ["sectors", tab],