Merge pull request #3112 from FLGMwt/fix-developer-warning-login-screen

fix developer warning on login screen, provide react key
This commit is contained in:
Ryan Stelly
2025-10-31 08:45:47 -05:00
committed by GitHub
6 changed files with 44 additions and 38 deletions

View File

@@ -217,8 +217,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" />
]}
/>
```