Skip to content

Commit

Permalink
fix: set key
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jan 24, 2024
1 parent 6371a10 commit 2f00bbc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ function EditOutput(props: PInner) {
onChange={(e) => setOutputType(e.currentTarget.value as OutputType)}
>
{possibleOutputTypes.map((outputType) => (
<option value={outputType}>{outputType}</option>
<option key={outputType} value={outputType}>
{outputType}
</option>
))}
</Select>
<RjsfForm
Expand Down

0 comments on commit 2f00bbc

Please sign in to comment.