Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

251 B
Raw Blame
import type { QueryClient, QueryKey } from "@tanstack/react-query";

export const removeWidgetDataQueries = (queryClient: QueryClient, queryKeys: readonly QueryKey[]) => {
  queryKeys.forEach((queryKey) => queryClient.removeQueries({ queryKey }));
};