Commit 81b11282 authored by Anael Lacour's avatar Anael Lacour
Browse files

fix

parent 98049cbe
......@@ -14,7 +14,7 @@ function App() {
const [EDT, setEDT] = useState([]);
const [uvs, setUvs] = useState([]);
//const [searchLogins, setSearchLogins] = useState([]);
const [student, setStudent] = useState({ login: 'vtchekov', color: randomColor() });
const [student, setStudent] = useState({ login: 'lacouran', color: randomColor() });
useEffect(() => {
let canceled = false;
......@@ -37,7 +37,7 @@ function App() {
function handleSearch(input) {
if (input === '' || contains(EDT, input) === true) return; //si l'utilisateur rentre une chaîne vide on sort de la fonction
let student = {
login: input,
color: randomColor(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment