Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Fix key warning (#93)

Christopher Chedeau8605af2b5432
diff --git a/src/index.tsx b/src/index.tsx
index 4451c193a8..b5c2970a9d 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -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}