diff --git a/react-frontend/src/components/AddSkill.js b/react-frontend/src/components/AddSkill.js index a7c3a11..8c5f55e 100644 --- a/react-frontend/src/components/AddSkill.js +++ b/react-frontend/src/components/AddSkill.js @@ -45,7 +45,7 @@ function AddSkill({skillAdded, setSkillAdded, userSkills}) { e.preventDefault() // handles case where description is blank - if(newSkill.description == undefined || newSkill.description === "") { + if(newSkill.description === undefined || newSkill.description === "") { return alert('Sorry, it looks like you haven\'t provided a description... Please try again') } diff --git a/react-frontend/src/components/Application.js b/react-frontend/src/components/Application.js index 1ac9202..8a49e36 100644 --- a/react-frontend/src/components/Application.js +++ b/react-frontend/src/components/Application.js @@ -1,5 +1,5 @@ import React from 'react'; -import { MdDeleteForever, MdEdit, MdLabel } from 'react-icons/md'; +import { MdDeleteForever, MdEdit } from 'react-icons/md'; import EditApplicationPage from '../pages/EditApplicationPage' import SlidingWindow from './SlidingWindow'; diff --git a/react-frontend/src/components/UserSkillBubble.js b/react-frontend/src/components/UserSkillBubble.js index 47792a4..1fd531c 100644 --- a/react-frontend/src/components/UserSkillBubble.js +++ b/react-frontend/src/components/UserSkillBubble.js @@ -24,7 +24,7 @@ export default function UserSkillBubble({skill, className}) { break; default: completed = 0 - background = "red" + background = "grey" break; } diff --git a/react-frontend/src/pages/CallBackPage.js b/react-frontend/src/pages/CallBackPage.js index 5b326ba..273b5a1 100644 --- a/react-frontend/src/pages/CallBackPage.js +++ b/react-frontend/src/pages/CallBackPage.js @@ -5,9 +5,6 @@ import { useAPI } from "../utils/Auth0Functions"; import fetchRequests from "../data_model/fetchRequests"; -const datastore_url = process.env.REACT_APP_API_SERVER_URL - - function CallBackPage() { const {isAuthenticated, user} = useAuth0() const getTokenFromAuth0 = useAPI() diff --git a/react-frontend/src/pages/SkillPage.js b/react-frontend/src/pages/SkillPage.js index bf302c1..d916f90 100644 --- a/react-frontend/src/pages/SkillPage.js +++ b/react-frontend/src/pages/SkillPage.js @@ -8,8 +8,6 @@ import { useAuth0 } from '@auth0/auth0-react'; import { useAPI } from '../utils/Auth0Functions'; import fetchRequests from '../data_model/fetchRequests'; -const apiURL = process.env.REACT_APP_API_SERVER_URL - function SkillPage() { // const [groupedSkills, setGroupedSkills] = useState({}) const [skills, setSkills] = useState([])