Skip to content

Commit

Permalink
prof.hireable isn't defined (#359)
Browse files Browse the repository at this point in the history
Check for `prof.isHireable` instead.
Fix #358
  • Loading branch information
naveen521kk committed Apr 24, 2021
1 parent 04bfd7d commit 5656e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/githubProfileCard/GithubProfileCard.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
import React from "react";
import "./GithubProfileCard.css";
import SocialMedia from "../../components/socialMedia/SocialMedia";
import {contactInfo} from "../../portfolio";
import emoji from "react-easy-emoji";
import {Fade} from "react-reveal";

export default function GithubProfileCard({prof}) {
if (prof.hireable === true) {
if (prof.isHireable) {
prof.hireable = "Yes";
} else {
prof.hireable = "No";
Expand Down

1 comment on commit 5656e60

@vercel
Copy link

@vercel vercel bot commented on 5656e60 Apr 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.