Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
This commit is contained in:
parent
0a2b91603d
commit
c41166c309
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,6 @@ function useServicesFetcher({
|
|||
mainStatisticsData,
|
||||
mainStatisticsStatus,
|
||||
comparisonData,
|
||||
isLoading: mainStatisticsStatus === FETCH_STATUS.LOADING,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -167,7 +166,6 @@ export function ServiceInventory() {
|
|||
mainStatisticsData,
|
||||
mainStatisticsStatus,
|
||||
comparisonData,
|
||||
isLoading,
|
||||
} = useServicesFetcher({ environment, kuery });
|
||||
|
||||
const {
|
||||
|
@ -188,6 +186,8 @@ export function ServiceInventory() {
|
|||
canCreateJob &&
|
||||
!userHasDismissedCallout;
|
||||
|
||||
const isLoading = mainStatisticsStatus === FETCH_STATUS.LOADING;
|
||||
|
||||
return (
|
||||
<>
|
||||
<SearchBar showTimeComparison />
|
||||
|
|
Loading…
Reference in a new issue