import React from 'react'; import { useTranslations } from 'next-intl'; import { Link } from '../../../../../../navigation'; export function generateStaticParams({ params: { locale }, }: { params: { locale: string } }) { const result: { locale: string, textId: string }[] = []; const chats = [{ textId: '1' }, { textId: '2' }, { textId: '3' }]; chats.forEach(({ textId }) => { result.push({ locale, textId }); }); return result; } export default function Message({ params }: { params: { textId: string } }) { const t = useTranslations('Account.Messages'); return ( <>
  1. {t('title')}
  2. {`Person ${params.textId}`}
🤩 It all for you! 07.09.2022
🤩 It all for you! 07.09.2022