板块资金流向默认按升序排序
This commit is contained in:
1 parent
65013dad3e
commit
677482639d
1 file changed
+1
-1
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user