refactor(inquiries): Update form validation and error handling
- Change required fields in inquiries form to enforce mandatory input - Enhance API error handler to provide user-friendly messages without exposing raw server text - Improve test cases for API error handling to ensure accurate message mapping and validation - Refactor error messages for clarity and consistency across the application
This commit is contained in:
@@ -4,9 +4,9 @@ import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { ToastContainer, Zoom } from "react-toastify";
|
||||
|
||||
import "../../globals.css";
|
||||
import { Suspense } from "react";
|
||||
import GoogleAnalytics from "@/app/_components/GoogleAnalytics";
|
||||
import "@/app/globals.css";
|
||||
import { Suspense } from "react";
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
|
||||
Reference in New Issue
Block a user