refactor(inventory card): change to 15min check
This commit is contained in:
@@ -7,7 +7,7 @@ export function getinventoryCheck(data: any) {
|
|||||||
queryFn: () => fetchStockSilo(data),
|
queryFn: () => fetchStockSilo(data),
|
||||||
//enabled:
|
//enabled:
|
||||||
staleTime: 1000,
|
staleTime: 1000,
|
||||||
refetchInterval: 60 * 1000,
|
refetchInterval: 1000 * 60 * 15,
|
||||||
refetchOnWindowFocus: true,
|
refetchOnWindowFocus: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user