Initial commit

This commit is contained in:
Jack Levy
2026-02-28 21:08:19 -05:00
commit e418dd9ae0
85 changed files with 5261 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { useQuery } from "@tanstack/react-query";
import { dashboardAPI } from "../api";
export function useDashboard() {
return useQuery({
queryKey: ["dashboard"],
queryFn: () => dashboardAPI.get(),
staleTime: 2 * 60 * 1000,
refetchInterval: 5 * 60 * 1000,
});
}