Skip to content

Commit

Permalink
[TreeView] Fix control state error (#18341)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored and oliviertassinari committed Nov 13, 2019
1 parent 49af7b3 commit 9eb38da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-lab/src/TreeView/TreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const TreeView = React.forwardRef(function TreeView(props, ref) {
isControlled ? 'a ' : 'an un'
}controlled TreeView to be ${isControlled ? 'un' : ''}controlled.`,
'Elements should not switch from uncontrolled to controlled (or vice versa).',
'Decide between using a controlled or uncontrolled Select ' +
'Decide between using a controlled or uncontrolled TreeView ' +
'element for the lifetime of the component.',
'More info: https://fb.me/react-controlled-components',
].join('\n'),
Expand Down

0 comments on commit 9eb38da

Please sign in to comment.