Updated the <a> to <Link>

This commit is contained in:
Tiago Ribeiro
2023-06-12 15:58:17 +01:00
parent 088b77a66b
commit abe986313f
2 changed files with 6 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import Head from "next/head";
import useUser from "@/hooks/useUser";
import Button from "@/components/Low/Button";
import {BsArrowRepeat} from "react-icons/bs";
import Link from "next/link";
export default function Register() {
const [name, setName] = useState("");
@@ -85,9 +86,9 @@ export default function Register() {
)}
</Button>
</form>
<a className="text-mti-green-light text-sm font-normal" href="/register">
<Link className="text-mti-green-light text-sm font-normal" href="/login">
Sign in instead
</a>
</Link>
</section>
</main>
</>