import { useTranslation } from 'react-i18next' import Modal from '@/app/components/base/modal' import Button from '@/app/components/base/button' type Props = { onCancel: () => void onSave: () => void confirmDisabled?: boolean } const DowngradeWarningModal = ({ onCancel, onSave, confirmDisabled = false, }: Props) => { const { t } = useTranslation() return ( onCancel()} className='w-[480px]' >
Plugin Downgrade
Auto-update is currently enabled for this plugin. Downgrading the version may cause your changes to be overwritten during the next automatic update.
) } export default DowngradeWarningModal