Skip to content

Commit 78b3477

Browse files
committed
refactor: remove TreeView usage from unused component
1 parent f0a545f commit 78b3477

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/GroupTreeViewer/GroupTreeViewer.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import PropTypes from 'prop-types';
33
import cn from 'bem-cn-lite';
44
import {withRouter} from 'react-router';
55

6+
import {TreeView} from 'ydb-ui-components';
7+
68
import GroupViewer from '../GroupViewer/GroupViewer';
79
import PDiskViewer from '../PDiskViewer/PDiskViewer';
810
import EntityStatus from '../EntityStatus/EntityStatus';
9-
import TreeView from '../TreeView/TreeView';
1011
import {stringifyVdiskId} from '../../utils';
1112
import routes, {createHref} from '../../routes';
1213
import {backend} from '../../store';
@@ -50,7 +51,7 @@ class GroupTreeViewer extends React.Component {
5051
<div className={b()}>
5152
<TreeView
5253
key={group.GroupID}
53-
nodeLabel={label2}
54+
name={label2}
5455
collapsed={collapsed}
5556
onClick={onClick}
5657
>

0 commit comments

Comments
 (0)