1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 19:15:30 -04:00

Refactor contact form validation to use useDebounce for improved performance and streamline error handling. Simplify error retrieval logic and ensure touched state is updated on input changes.

This commit is contained in:
2025-09-02 19:10:56 -04:00
parent 20d8aad41f
commit b06e7bbf4d
3 changed files with 29 additions and 15 deletions
@@ -2,7 +2,7 @@
import { env } from "@/lib/env";
import { Resend } from "resend";
import { ContactSchema } from "@/lib/validation/contact";
import { ContactSchema } from "@/lib/schemas/contact";
import siteConfig from "@/lib/config/site";
import { checkBotId } from "botid/server";