Fix key warning (#93)

This commit is contained in:
Christopher Chedeau
2020-01-03 18:32:23 -08:00
committed by GitHub
parent c077403eec
commit 8605af2b54

View File

@ -753,7 +753,7 @@ class App extends React.Component<{}, AppState> {
<fieldset>
<legend>Shapes</legend>
{SHAPES.map(({ value, label }) => (
<label>
<label key={value}>
<input
type="radio"
checked={this.state.elementType === value}