From 4510bb08d89956c2893c494fe2aec0f163140615 Mon Sep 17 00:00:00 2001 From: toimistokone Date: Tue, 10 Mar 2026 17:45:42 +0200 Subject: [PATCH] eslint xD --- .eslintrc.js | 1 + src/pages/signup/[id].tsx | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index d390281..e559c5b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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", }, }; diff --git a/src/pages/signup/[id].tsx b/src/pages/signup/[id].tsx index 8c1c3af..0aaff70 100644 --- a/src/pages/signup/[id].tsx +++ b/src/pages/signup/[id].tsx @@ -47,7 +47,6 @@ const SignUpPage: NextPage = ({ initialForm }) => { } const onSubmit = async ({ formData }: ISubmitEvent) => { - if (honeypot !== "") { console.log("bot cought in honeypot cought lacking"); toast.success("Sign-up submitted successfully 😎"); @@ -78,7 +77,11 @@ const SignUpPage: NextPage = ({ initialForm }) => { {/* 3. HONEYPOT INPUT FIELD */}