'use client' import { useMemo } from 'react' import type { CookiesStore } from '@/i18n/i18n.client' import { useI18n } from '@/i18n/i18n.client' import { BIRTH_DATE, BIRTH_DATE_STRING, getAge } from '@/utils/getAge' import { ProfileItem } from './ProfileItem' export interface ProfileListProps { cookiesStore: CookiesStore } export const ProfileList = (props: ProfileListProps): JSX.Element => { const { cookiesStore } = props const i18n = useI18n(cookiesStore) const age = useMemo(() => { return getAge(BIRTH_DATE) }, []) return (