We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5370c9 commit d187f91Copy full SHA for d187f91
front-end/src/Signup.js
@@ -1,12 +1,10 @@
1
import React, { useState, useEffect } from "react";
2
-import { Link, Navigate, useSearchParams } from "react-router-dom";
+import { Link, Navigate } from "react-router-dom";
3
import axios from "axios";
4
// import logo from './logo.svg';
5
import "./Login.css";
6
7
const Signup = props => {
8
- // let [urlSearchParams] = useSearchParams() // get access to the URL query string parameters
9
-
10
// create state variables to hold username and password
11
const [response, setResponse] = useState({}); // the API will return an object with a JWT token, if the user logs in successfully
12
const [errorMessage, setErrorMessage] = useState("");
0 commit comments