diff --git a/src/pages/course/compenents/hours.tsx b/src/pages/course/compenents/hours.tsx index 057322f..c8e7c34 100644 --- a/src/pages/course/compenents/hours.tsx +++ b/src/pages/course/compenents/hours.tsx @@ -18,12 +18,10 @@ export const TreeHours = (props: PropInterface) => { const [loading, setLoading] = useState(true); useEffect(() => { const hours = props.data; - if (hours.length === 0) { return; } checkTree(hours); - console.log(hours); }, [props.data]); const checkTree = (hours: any) => {