mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 09:45:27 +01:00
Fix key warning (#93)
This commit is contained in:
committed by
GitHub
parent
c077403eec
commit
8605af2b54
@@ -753,7 +753,7 @@ class App extends React.Component<{}, AppState> {
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Shapes</legend>
|
<legend>Shapes</legend>
|
||||||
{SHAPES.map(({ value, label }) => (
|
{SHAPES.map(({ value, label }) => (
|
||||||
<label>
|
<label key={value}>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
checked={this.state.elementType === value}
|
checked={this.state.elementType === value}
|
||||||
|
|||||||
Reference in New Issue
Block a user