diff --git a/compass/app/auth/forgot_password/page.tsx b/compass/app/auth/forgot_password/page.tsx index e12f6b2..b2e7c9c 100644 --- a/compass/app/auth/forgot_password/page.tsx +++ b/compass/app/auth/forgot_password/page.tsx @@ -1,5 +1,5 @@ "use client" -import Button from '@/components/Button49'; +import Button from '@/components/Button'; import Input from '@/components/Input' import InlineLink from '@/components/InlineLink'; import Paper from '@/components/auth/Paper'; @@ -44,7 +44,7 @@ export default function Page() { iconKey={'EmailInputIcon'} onChange={(e) => { setconfirmEmail(e.target.value); - setEmailError(''); // Reset the error when the user types + }}/> {emailError && (
diff --git a/compass/components/auth/EmailInput.tsx b/compass/components/auth/EmailInput.tsx
new file mode 100644
index 0000000..cb3a829
--- /dev/null
+++ b/compass/components/auth/EmailInput.tsx
@@ -0,0 +1,17 @@
+import React, { useState } from 'react';
+import Input from '@/components/Input'
+import { InputProps } from '@/utils/classes/InputProps';
+
+const EmailInput: React.FunctionComponent