/* * Copyright (c) 2021 - 2025, Ludvig Lundgren and the autobrr contributors. * SPDX-License-Identifier: GPL-2.0-or-later */ import { useQuery} from "@tanstack/react-query"; import { Link } from "@tanstack/react-router"; import { classNames } from "@utils"; import { LinkIcon } from "@heroicons/react/24/solid"; import { ReleasesStatsQueryOptions } from "@api/queries"; interface StatsItemProps { name: string; value?: number; placeholder?: string; to?: string; eventType?: "" | "PUSH_APPROVED" | "PUSH_REJECTED" | "PUSH_ERROR" | undefined; } const StatsItem = ({ name, placeholder, value, to, eventType }: StatsItemProps) => (

{name}

{placeholder}

{value}

); export const Stats = () => { const { isLoading, data } = useQuery(ReleasesStatsQueryOptions()); return (

Stats

{/* */}
); };