0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 09:02:37 +00:00

Merge pull request #2843 from Gazook89/StringArrayEditor-Unique-ID-Fix

Fix StringArrayEditor unique `key` error
This commit is contained in:
Trevor Buckner
2023-05-22 22:38:48 -04:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ const StringArrayEditor = createClass({
</div>
</div>
{this.props.notes ? this.props.notes.map((n)=><p><small>{n}</small></p>) : null}
{this.props.notes ? this.props.notes.map((n, index)=><p key={index}><small>{n}</small></p>) : null}
</div>
</div>;
}