"use client"; import Button from "@/lib/components/ui/Button"; import { Divider } from "@/lib/components/ui/Divider"; import { useApiKeyConfig } from "./hooks/useApiKeyConfig"; export const ApiKeyConfig = (): JSX.Element => { const { apiKey, handleCopyClick, handleCreateClick } = useApiKeyConfig(); return ( <>
{apiKey === "" && ( )}
{apiKey !== "" && (
{apiKey}
)}
); };