diff --git a/v2/emailpassword/common-customizations/signup-form/customising-each-form-field.mdx b/v2/emailpassword/common-customizations/signup-form/customising-each-form-field.mdx
index d7829720e..095ea745a 100644
--- a/v2/emailpassword/common-customizations/signup-form/customising-each-form-field.mdx
+++ b/v2/emailpassword/common-customizations/signup-form/customising-each-form-field.mdx
@@ -265,7 +265,7 @@ SuperTokens.init({
}}
value={value}
name={name}
- onChange={(e) => onChange!(e.target.value)}>
+ onChange={(e) => onChange(e.target.value)}>
@@ -291,7 +291,7 @@ SuperTokens.init({
justifyContent: "left",
marginBottom: " -12px",
}}>
- onChange!(e.target.checked.toString())}>
+ onChange(e.target.checked.toString())}>
I agree to the{" "}
diff --git a/v2/thirdpartyemailpassword/common-customizations/signup-form/customising-each-form-field.mdx b/v2/thirdpartyemailpassword/common-customizations/signup-form/customising-each-form-field.mdx
index 8d45cc70a..d2e58d294 100644
--- a/v2/thirdpartyemailpassword/common-customizations/signup-form/customising-each-form-field.mdx
+++ b/v2/thirdpartyemailpassword/common-customizations/signup-form/customising-each-form-field.mdx
@@ -265,7 +265,7 @@ SuperTokens.init({
}}
value={value}
name={name}
- onChange={(e) => onChange!(e.target.value)}>
+ onChange={(e) => onChange(e.target.value)}>
@@ -291,7 +291,7 @@ SuperTokens.init({
justifyContent: "left",
marginBottom: " -12px",
}}>
- onChange!(e.target.checked.toString())}>
+ onChange(e.target.checked.toString())}>
I agree to the{" "}