import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { api } from "@/utils/api"; import { Server, ShieldCheck } from "lucide-react"; import { AddRegistry } from "./add-docker-registry"; import { AddSelfRegistry } from "./add-self-registry"; export const ShowRegistry = () => { const { data } = api.certificates.all.useQuery(); return (
Clusters Add cluster to your application. {data?.length === 0 ? (
To create a cluster is required to set a registry.
{/* */}
) : (
{data?.map((destination, index) => (
{index + 1}. {destination.name}
{/* */}
))}
{/* */}
)}
); };