Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
WilsonNet committed Jan 16, 2025
1 parent 182d6da commit 7aa8c9e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dashboard/src/pages/useTreeDetailsLazyLoadQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const canWeFetchAll = (
return statusTable[currentPageTab] ?? false;
};

export const useTreeDetailsLazyLoadQuery = (
useTreeDetailsArgs: UseTreeDetailsWithoutVariant,
): {
type TreeDetaisLazyLoad = {
summaryData?: TreeDetailsSummary;
summaryIsLoading: boolean;
buildsData?: TreeDetailsBuilds;
Expand All @@ -35,7 +33,11 @@ export const useTreeDetailsLazyLoadQuery = (
bootsIsLoading: boolean;
testsData?: TreeDetailsTests;
testIsLoading: boolean;
} => {
}

export const useTreeDetailsLazyLoadQuery = (
useTreeDetailsArgs: UseTreeDetailsWithoutVariant,
): TreeDetailsLazyLoad => {
const [fetchAll, setFetchAll] = useState(false);

const { data: summaryData, isLoading: summaryIsLoading } = useTreeDetails({
Expand Down

0 comments on commit 7aa8c9e

Please sign in to comment.