mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
fix remaining warnings due to <Trans /> component lists, update readme
This commit is contained in:
@@ -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" />
|
||||
]}
|
||||
/>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user