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