mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
docs: Fix indent
This commit is contained in:
parent
413479a5b9
commit
bf03d954d4
@ -106,7 +106,7 @@ class Demo extends React.Component {
|
||||
render() {
|
||||
const loop = data => data.map((item) => {
|
||||
if (item.children && item.children.length) {
|
||||
return <TreeNode key={item.key} title={item.title}>{loop(item.children)}</TreeNode>;
|
||||
return <TreeNode key={item.key} title={item.title}>{loop(item.children)}</TreeNode>;
|
||||
}
|
||||
return <TreeNode key={item.key} title={item.title} />;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user