eslint xD

This commit is contained in:
toimistokone
2026-03-10 17:45:42 +02:00
committed by jadera
parent 0825d87d0f
commit 4510bb08d8
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -47,5 +47,6 @@ module.exports = {
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"@typescript-eslint/default-param-last": "warn",
"object-curly-newline": "warn",
},
};
+5 -2
View File
@@ -47,7 +47,6 @@ const SignUpPage: NextPage<InitialProps> = ({ initialForm }) => {
}
const onSubmit = async ({ formData }: ISubmitEvent<string>) => {
if (honeypot !== "") {
console.log("bot cought in honeypot cought lacking");
toast.success("Sign-up submitted successfully 😎");
@@ -78,7 +77,11 @@ const SignUpPage: NextPage<InitialProps> = ({ initialForm }) => {
<PageWrapper>
{/* 3. HONEYPOT INPUT FIELD */}
<div
style={{ position: "absolute", top: "-9999px", left: "-9999px", opacity: 0 }}
style={
{
position: "absolute", top: "-9999px", left: "-9999px", opacity: 0,
}
}
aria-hidden="true"
>
<label htmlFor="website_url">Do not fill this out if you are human</label>