Counselllor / Counsellor-Web

Local variable name shadows variable in outer scope JS-0123
Bug risk
Minor
2 occurrences in this check
'user' is already declared in the upper scope on line 29 column 10
 32
 33
 34  useEffect(() => {
 35    auth.onAuthStateChanged((user) => { 36      if (user) {
 37        // read
 38        console.log("");
'college' is already declared in the upper scope on line 23 column 9
 20  const { id } = useParams();
 21
 22
 23  const college = collegesData.find(college => college.id === parseInt(id)); 24
 25
 26  if (!college) {