import { useClient } from "hooks/useClient"; import { useQuery } from "@tanstack/react-query"; // Placeholder. It proves the route mounts and the panel renders, and nothing else. export const FinancesOverview = () => { const client = useClient(); const { data, isLoading } = useQuery({ queryKey: ["finances", "ping"], queryFn: () => client.get<{ plugin: string; ok: boolean }>("/finances/ping"), }); return (

Finances

Nothing here yet — the skeleton is up and mounted.

GET /api/finances/ping
{isLoading ? ( … ) : ( {JSON.stringify(data)} )}
); };