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

@@ -8,6 +8,7 @@ import useUser from "@/hooks/useUser";
import {Divider} from "primereact/divider";
import Button from "@/components/Low/Button";
import {BsArrowRepeat} from "react-icons/bs";
import Link from "next/link";
export default function Login() {
const [email, setEmail] = useState("");
@@ -91,9 +92,9 @@ export default function Login() {
</form>
<span className="text-mti-gray-cool text-sm font-normal mt-8">
Don&apos;t have an account?{" "}
<a className="text-mti-green-light" href="/register">
<Link className="text-mti-green-light" href="/register">
Sign up
</a>
</Link>
</span>
</section>
</main>