fix remaining warnings due to <Trans /> component lists, update readme

This commit is contained in:
Ryan Stelly
2025-10-10 10:34:10 -05:00
parent f8c2fdfb06
commit 2f56074089
5 changed files with 37 additions and 37 deletions

View File

@@ -214,8 +214,9 @@ when the user interacts with an element. The [iOS Guidelines](https://developer.
parent={View}
values={{ userHandle: currentUser?.login }}
components={[
<Subheading1 className="mt-5" />,
<Heading1 />
/* be sure to include a key={index} prop to prevent React list/key warning */
<Subheading1 key="0" className="mt-5" />,
<Heading1 key="1" />
]}
/>
```