refresh provisioning bug fixed #129
@@ -53,14 +53,17 @@ export default function SocketIOContextProvider({children}) {
|
||||
queryClient.refetchQueries({ // refetches product Page API call
|
||||
queryKey: [...queryKeys.product_page],
|
||||
})
|
||||
queryClient.refetchQueries({ // refetches productProvision API call
|
||||
queryKey: [...queryKeys.myproduct_provision],
|
||||
})
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// socket.on(socketOnEvents.refresh_provision, (data) => {
|
||||
// queryClient.refetchQueries({ // refetches productProvision API call
|
||||
// queryKey: [...queryKeys.myproduct_provision],
|
||||
// })
|
||||
// queryClient.refetchQueries({ // refetches productProvision API call
|
||||
// queryKey: [...queryKeys.myproduct_provision],
|
||||
// })
|
||||
// // queryClient.invalidateQueries({ queryKey: [...queryKeys.product_page] })
|
||||
// queryClient.refetchQueries({ // refetches product Page API call
|
||||
// queryKey: [...queryKeys.product_page],
|
||||
|
||||
Reference in New Issue
Block a user