We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d833d5 commit 5ca7e07Copy full SHA for 5ca7e07
src/assets/Pages/register.jsx
@@ -4,7 +4,7 @@ import { auth } from "./firebase";
4
import { setDoc, doc } from "firebase/firestore";
5
import { toast } from "react-toastify";
6
import Navbar from "../Components/Navbar";
7
-
+import { Link } from "react-router-dom";
8
function Register() {
9
const [email, setEmail] = useState("");
10
const [password, setPassword] = useState("");
@@ -92,7 +92,7 @@ function Register() {
92
</button>
93
</div>
94
<p className="forgot-password text-right">
95
- Already registered <a href="/login">Login</a>
+ Already registered <Link to="/login">Login</a>
96
</p>
97
</form>
98
</>
0 commit comments