Commit 3da8808d authored by 黄韬's avatar 黄韬

fixbug

parent 3409132e
...@@ -21,7 +21,7 @@ const ProgressNode = memo(props => { ...@@ -21,7 +21,7 @@ const ProgressNode = memo(props => {
const { maxLevel, nodeClassName } = useMemo( const { maxLevel, nodeClassName } = useMemo(
() => useContext(ProgressContext), () => useContext(ProgressContext),
ProgressContext [ ProgressContext ]
) )
const getNodeStyle = classnames(styles['defualt-progress-node'], { const getNodeStyle = classnames(styles['defualt-progress-node'], {
......
...@@ -22,7 +22,7 @@ const Progress = memo(props => { ...@@ -22,7 +22,7 @@ const Progress = memo(props => {
const LevelList = useMemo(() => { const LevelList = useMemo(() => {
return levelList return levelList
}, levelList) }, [ levelList ])
// 合并全局配置 // 合并全局配置
const mergeConfigToDefault = useCallback(config => { const mergeConfigToDefault = useCallback(config => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment