-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👻 Add some missing
key
props to fragments (#1594)
Since using the nice looking version of `React.Fragment` of `<>...</>` does not allow for adding a key prop when a fragment is used in an array/map(), switch to the verbose version and add the key. Therefore `<>...</>` becomes `<React.Fragment key={...}>...</React.Fragment>`. Signed-off-by: Scott J Dickerson <[email protected]> Co-authored-by: Ian Bolton <[email protected]>
- Loading branch information
1 parent
f6dc53e
commit ca600a3
Showing
2 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters