Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partial clean up of warnings on build #58

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion react-frontend/src/components/AddSkill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

Expand Down
2 changes: 1 addition & 1 deletion react-frontend/src/components/Application.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion react-frontend/src/components/UserSkillBubble.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function UserSkillBubble({skill, className}) {
break;
default:
completed = 0
background = "red"
background = "grey"
break;
}

Expand Down
3 changes: 0 additions & 3 deletions react-frontend/src/pages/CallBackPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 0 additions & 2 deletions react-frontend/src/pages/SkillPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([])
Expand Down