diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index 2fc57434..e9cb06fc 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -4,6 +4,7 @@ import { truncateCommitId } from '../../common/util'; import { Link } from 'react-router-dom'; import { getImageUrl } from 'educoder'; import { Dropdown , Menu , Spin } from 'antd'; +import Nodata from '../../Nodata'; import './Index.scss'; import Tree from '../img/tree.png'; @@ -107,6 +108,9 @@ function Index(props) { ) }) } + { + list && list.length === 0 && + } )