more
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import React, { useState, useEffect } from "react";
|
||||
import Col from "react-bootstrap/Col";
|
||||
import Form from "react-bootstrap/Form";
|
||||
import Row from "react-bootstrap/Row";
|
||||
@@ -24,6 +24,9 @@ const SignupPage = () => {
|
||||
const navigate = useNavigate();
|
||||
const [notice, setNotice] = useState("");
|
||||
const [isMobile, setIsMobile] = useState(window.innerWidth < 440);
|
||||
useEffect(() => {
|
||||
setIsMobile(window.innerWidth < 440);
|
||||
});
|
||||
const fieldsChunkSize = 2;
|
||||
const [isBusy, setIsBusy] = useState(false);
|
||||
const [data, setData] = useState(getFormDataDefaults(signupfields));
|
||||
|
||||
Reference in New Issue
Block a user