'use client' import { useMemo } from 'react' import { useI18n } from '@/i18n/i18n.client' import { BIRTH_DATE, BIRTH_DATE_STRING, getAge } from '@/utils/getAge' import type { CookiesStore } from '@/utils/constants' 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 ( ) }