fix: backend framework options

This commit is contained in:
jialin
2025-12-16 11:11:24 +08:00
parent fa42474612
commit 5225fd328d
23 changed files with 99 additions and 85 deletions
@@ -30,8 +30,8 @@ export default function useClusterList() {
name: string;
}[]
>([]);
const [, setClusterListAtom] = useAtom(clusterListAtom);
const [, setWorkerListAtom] = useAtom(workerListAtom);
const [clustersAtom, setClusterListAtom] = useAtom(clusterListAtom);
const [workersAtom, setWorkerListAtom] = useAtom(workerListAtom);
const fetchClusterList = async () => {
try {
@@ -85,6 +85,8 @@ export default function useClusterList() {
return {
clusterList,
workerList,
clustersAtom,
workersAtom,
fetchAll,
fetchWorkerList,
fetchClusterList