eslint fix

This commit is contained in:
Joan Jeremiah J
2022-10-03 14:29:01 +05:30
parent 9605a47a2a
commit 0a0cd6bae1
3 changed files with 9 additions and 8 deletions

View File

@@ -55,16 +55,17 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => {
: profile.bio}
</div>
</div>
{ resume?.fileName &&
{resume?.fileName && (
<a
href={resume.fileName}
target="_blank"
className="btn btn-outline btn-primary text-xs mt-6"
download
rel="noreferrer"
>
Download Resume
</a>
}
)}
</div>
</div>
);
@@ -74,7 +75,7 @@ AvatarCard.propTypes = {
profile: PropTypes.object,
loading: PropTypes.bool.isRequired,
avatarRing: PropTypes.bool.isRequired,
resume: PropTypes.object
resume: PropTypes.object,
};
export default AvatarCard;