Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

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

// The sidebar count, Home and My tasks read the caller's assigned tasks across
// projects, so any task change can move them even though no board cache does.
export function invalidateMyWork(queryClient: QueryClient) {
  void queryClient.invalidateQueries({ queryKey: ["assigned-tasks"] });
  void queryClient.invalidateQueries({ queryKey: ["workspace-activity"] });
}