import { useAtom, useAtomValue } from 'jotai'; import CustomSelect from '../components/CustomSelect'; import FieldRow from '../components/FieldRow'; import SectionTag from '../components/SectionTag'; import { getMonthOptions } from '../constants'; import { localeState, monthState } from '../store'; export default function Month() { const [month, setMonth] = useAtom(monthState); const resolvedLocale = useAtomValue(localeState); const monthOptions = getMonthOptions(resolvedLocale.shortMonthOptions); return ( {resolvedLocale.inText}}> ); }