diff --git a/compass/app/auth/forgot_password/page.tsx b/compass/app/auth/forgot_password/page.tsx index 3401b20..9b0e37e 100644 --- a/compass/app/auth/forgot_password/page.tsx +++ b/compass/app/auth/forgot_password/page.tsx @@ -44,7 +44,6 @@ export default function Page() { icon={'EmailInputIcon'} onChange={(e) => { setconfirmEmail(e.target.value); - // setEmailError(''); // Reset the error when the user types }}/> {emailError && (
diff --git a/compass/app/auth/newPassword/page.tsx b/compass/app/auth/newPassword/page.tsx
index 96e4603..506da4e 100644
--- a/compass/app/auth/newPassword/page.tsx
+++ b/compass/app/auth/newPassword/page.tsx
@@ -1,8 +1,11 @@
// pages/index.tsx
"use client";
import { useState, useEffect } from 'react';
-import Button from '@/components/Button1';
+
import Input from '@/components/Input';
+
+import Button from '@/components/Button';
+
import Paper from '@/components/auth/Paper';
diff --git a/compass/app/page.tsx b/compass/app/page.tsx
index 1587bc0..07191a7 100644
--- a/compass/app/page.tsx
+++ b/compass/app/page.tsx
@@ -1,8 +1,7 @@
// pages/index.tsx
"use client";
-// import Button from '@/components/Button49';
-import Button from '@/components/Button1';
+import Button from '@/components/Button';
import Input from '@/components/Input'
import InlineLink from '@/components/InlineLink';
import Paper from '@/components/auth/Paper';
diff --git a/compass/components/Button1.tsx b/compass/components/Button1.tsx
deleted file mode 100644
index bf6dd55..0000000
--- a/compass/components/Button1.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { FunctionComponent, ReactNode } from 'react';
-
-type ButtonProps = {
- children: ReactNode;
- onClick?: () => void; // make the onClick handler optional
- type?: "button" | "submit" | "reset"; // specify possible values for type
- disabled?: boolean;
-};
-
-const Button: FunctionComponent