fix key warnings

This commit is contained in:
Tom (plebeius.eth)
2025-03-04 16:45:34 +01:00
parent d0a5e90907
commit 0748673bad
5 changed files with 18 additions and 11 deletions
+7 -1
View File
@@ -52,7 +52,13 @@ const InfoBox = () => {
<h2>{t('what_is_plebchan')}</h2>
</div>
<div className={styles.boxContent}>
<Trans i18nKey='plebchan_description' shouldUnescape={true} components={{ 1: <Link to='https://plebbit.com' target='_blank' rel='noopener noreferrer' /> }} />
<Trans
i18nKey='plebchan_description'
shouldUnescape={true}
components={{
1: <Link key='plebbit-link' to='https://plebbit.com' target='_blank' rel='noopener noreferrer' />,
}}
/>
<br />
<br />
{t('no_global_rules_info')}