feat: version tag (#14949)
This commit is contained in:
parent
4aaf07d62a
commit
3ca1373274
41 changed files with 1695 additions and 423 deletions
|
|
@ -13,3 +13,14 @@ export const useInvalid = (key: QueryKey) => {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
export const useReset = (key: QueryKey) => {
|
||||
const queryClient = useQueryClient()
|
||||
return () => {
|
||||
queryClient.resetQueries(
|
||||
{
|
||||
queryKey: key,
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue