Skip to content

Commit ea3e5f4

Browse files
committed
Minor formatting fix
1 parent 258585f commit ea3e5f4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Either include one of these files in your stylesheets or utilize a CSS loader:
4444
import 'react-checkbox-tree/lib/react-checkbox-tree.css';
4545
```
4646

47-
4847
### Render Component
4948

5049
A quick usage example is included below. Note that the react-checkbox-tree component is [controlled](https://facebook.github.io/react/docs/forms.html#controlled-components). In other words, as a stateless component, you must update its `checked` and `expanded` properties whenever a change occurs.

src/js/CheckboxTree.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class CheckboxTree extends React.Component {
121121
if (id !== null) {
122122
newState = { ...newState, id };
123123
}
124+
124125
model.deserializeLists({
125126
checked: newProps.checked,
126127
expanded: newProps.expanded,

0 commit comments

Comments
 (0)