We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
key
1 parent f01e395 commit d8dfb54Copy full SHA for d8dfb54
src/js/TreeNode.js
@@ -198,7 +198,7 @@ class TreeNode extends React.Component {
198
const inputId = `${treeId}-${value.split(' ').join('_')}`;
199
200
const render = [(
201
- <label htmlFor={inputId}>
+ <label key={0} htmlFor={inputId}>
202
<NativeCheckbox
203
checked={checked === 1}
204
disabled={disabled}
@@ -216,6 +216,7 @@ class TreeNode extends React.Component {
216
if (clickable) {
217
render.push((
218
<span
219
+ key={1}
220
className="rct-node-clickable"
221
onClick={this.onClick}
222
onKeyPress={this.onClick}
0 commit comments