Compiled with problems:X
Line 5:21: ReactHook "useRef" is calledin function "signin" that is neither a React function component nor a custom ReactHook function.React component names must
使用功能组件构建我的ui。我的寄存器组件找不到import react, {useState} from 'react',它返回给我这个错误。 Failed to compile.
Line 10:31: ReactHook "useState" is called in function "register"
which isneithe