more
This commit is contained in:
@@ -65,8 +65,8 @@ const SignupPage = () => {
|
|||||||
const [isAnnual, setIsAnnual] = useState(1);
|
const [isAnnual, setIsAnnual] = useState(1);
|
||||||
const [valX, setValX] = useState(1);
|
const [valX, setValX] = useState(1);
|
||||||
const [valY, setValY] = useState(4);
|
const [valY, setValY] = useState(4);
|
||||||
const userAgentSimple = window.navigator.userAgent;
|
const userAgent = window.navigator.userAgent;
|
||||||
console.log("simple userAgent", userAgentSimple);
|
|
||||||
const handleChangeInput = (e, name) => {
|
const handleChangeInput = (e, name) => {
|
||||||
const newData = handleFormDataChange(e, name, data, signupFields);
|
const newData = handleFormDataChange(e, name, data, signupFields);
|
||||||
if (newData !== null) {
|
if (newData !== null) {
|
||||||
@@ -358,6 +358,7 @@ const SignupPage = () => {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"User-Agent": userAgent,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
planType: type,
|
planType: type,
|
||||||
|
|||||||
Reference in New Issue
Block a user