fix(dashboard): bust order preview cache to reset fulfilled quantity (#8687)

This commit is contained in:
Riqwan Thamir
2024-08-21 16:23:49 +02:00
committed by GitHub
parent 1e07ab1b8d
commit 0da9445d80
13 changed files with 235 additions and 102 deletions
@@ -1,6 +1,6 @@
import { QueryKey, UseQueryOptions } from "@tanstack/react-query"
type TQueryKey<TKey, TListQuery = any, TDetailQuery = string> = {
export type TQueryKey<TKey, TListQuery = any, TDetailQuery = string> = {
all: readonly [TKey]
lists: () => readonly [...TQueryKey<TKey>["all"], "list"]
list: (