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

fixbug

parent 3409132e
......@@ -21,7 +21,7 @@ const ProgressNode = memo(props => {
const { maxLevel, nodeClassName } = useMemo(
() => useContext(ProgressContext),
ProgressContext
[ ProgressContext ]
)
const getNodeStyle = classnames(styles['defualt-progress-node'], {
......
......@@ -22,7 +22,7 @@ const Progress = memo(props => {
const LevelList = useMemo(() => {
return levelList
}, levelList)
}, [ levelList ])
// 合并全局配置
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