We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc95803 commit 87ecde8Copy full SHA for 87ecde8
template/src/screens/AuthScreens/Login/index.tsx
@@ -34,7 +34,7 @@ const Login: React.FC<LoginProps> = () => {
34
});
35
const {t} = useTranslation();
36
37
- const passwordRef = useRef() as any;
+ const passwordRef = useRef(null) as any;
38
39
const onEmailSubmit = () => {
40
if (passwordRef.current) {
template/src/screens/AuthScreens/Signup/index.tsx
@@ -32,8 +32,8 @@ const Signup: React.FC = () => {
32
33
- const emailRef = useRef() as any;
+ const emailRef = useRef(null) as any;
const onNameSubmit = () => {
if (emailRef.current) {
0 commit comments