Updated the <a> to <Link>
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user