'use client' import { useTranslations } from 'next-intl' import { CROP_COLORS, type CropType } from './cropZoningTypes' export default function ZoneLegend() { const t = useTranslations('cropZoning') const items: { crop: CropType; label: string }[] = [ { crop: 'wheat', label: t('crops.wheat') }, { crop: 'canola', label: t('crops.canola') }, { crop: 'saffron', label: t('crops.saffron') } ] return (