diff --git a/app/(auth)/login/page.tsx b/app/(auth)/login/page.tsx index cb795b6..00a3491 100644 --- a/app/(auth)/login/page.tsx +++ b/app/(auth)/login/page.tsx @@ -1,6 +1,6 @@ /** * @file app/(auth)/login/page.tsx - * @description Client component providing a user login interface utilizing the auth service. + * @description Client component providing a user login interface utilizing the auth service and ActionButton. */ "use client"; @@ -25,6 +25,15 @@ export default function LoginPage() { "credentials" | "guest" | null >(null); + /** + * Clears active error state when user modifies input fields. + */ + const handleInputChange = () => { + if (error) { + setError(null); + } + }; + /** * Performs user authentication via email and password using the auth service. * Redirects to the summary page upon success or sets an error message on failure. @@ -125,7 +134,11 @@ export default function LoginPage() { )} -