'use client' import { useState } from 'react' import { useTranslation } from 'react-i18next' import Button from '@/app/components/base/button' import SecretKeyModal from '@/app/components/develop/secret-key/secret-key-modal' // import { KeyIcon } from '@heroicons/react/20/solid' type ISecretKeyButtonProps = { className?: string appId: string } const SecretKeyButton = ({ className, appId }: ISecretKeyButtonProps) => { const [isVisible, setVisible] = useState(false) const { t } = useTranslation() return ( <> setVisible(false)} appId={appId} /> ) } export default SecretKeyButton