import { useTranslation } from 'react-i18next'; import { Checkbox, Form, Select, Switch } from 'antd'; import { SNIFFING_OPTION } from '@/schemas/primitives'; export default function SniffingTab({ sniffingEnabled }: { sniffingEnabled: boolean }) { const { t } = useTranslation(); return ( <> {sniffingEnabled && ( <> {Object.entries(SNIFFING_OPTION).map(([key, value]) => ( {key} ))} )} ); }