This condition will always return 'false' since the types 'MutableRefObject' and 'string' have no overlap. TS2367

前端 未结 0 2716
梦毁少年i
梦毁少年i 2021-02-01 03:18

I have a problem Using React and TS

I have state of the email and password in States

const emailRef = useRef(null);
const passwordRef          


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