Skip to content

Commit

Permalink
Fix UI bug for forgot password button
Browse files Browse the repository at this point in the history
  • Loading branch information
dloh2236 committed Nov 9, 2024
1 parent bef34aa commit 1167d2e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/peerprep/app/@landing/sign-in/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function SignInPage() {
const [password, setPassword] = useState<string>("");
const [isLoading, setIsLoading] = useState<boolean>(false); // Loading state for button
const [toast, setToast] = useState<{ message: string; type: string } | null>(
null,
null
);

const toggleVisibility = () => setIsVisible(!isVisible);
Expand Down Expand Up @@ -158,10 +158,7 @@ export default function SignInPage() {
)}
</div>
</button>
<a
href="/sign-in/forgot-password"
className="underline text-white text-xs"
>
<a href="/sign-in/forgot-password" className="underline text-xs">
Forgot password
</a>
</div>
Expand Down

0 comments on commit 1167d2e

Please sign in to comment.