Initial commit: CI Agent competitive-intelligence monitoring app
FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring, source collection, LLM-based change analysis, enrichment, and account security (Turnstile, escalating lockout, email verification).
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"use client";
|
||||
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { api } from "@/lib/api-client";
|
||||
|
||||
export function useDashboardAnalytics() {
|
||||
return useQuery({
|
||||
queryKey: ["dashboard-analytics"],
|
||||
queryFn: api.getDashboardAnalytics,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user