Avoid warning “Can't perform a React state update on an unmounted component”

后端 未结 0 1531
情歌与酒
情歌与酒 2020-11-27 17:35

How i can remove this warning? i Try this but does not work.

useEffect(() => {
    let isMounted = true;
    
    if (isMounted) {
        if (tokenID?.pay         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题