import type { Category } from './types' import * as React from 'react' import { useTranslation } from 'react-i18next' import Link from '@/next/link' import { cn } from '@/utils/classnames' import { CategoryEnum } from './types' type FooterProps = { pricingPageURL: string currentCategory: Category } const Footer = ({ pricingPageURL, currentCategory, }: FooterProps) => { const { t } = useTranslation() return (
{currentCategory === CategoryEnum.CLOUD && (
{t('plansCommon.taxTip', { ns: 'billing' })} {t('plansCommon.taxTipSecond', { ns: 'billing' })}
)} {t('plansCommon.comparePlanAndFeatures', { ns: 'billing' })}
) } export default React.memo(Footer)