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;

View File

@@ -133,7 +133,7 @@ export const sanitizeConfig = (config) => {
'winter',
'procyon',
];
return {
github: {
username: config?.github?.username || '',
@@ -144,8 +144,8 @@ export const sanitizeConfig = (config) => {
projects: config?.github?.exclude?.projects || [],
},
},
resume:{
fileName: config?.resume?.fileName || false
resume: {
fileName: config?.resume?.fileName || false,
},
social: {
linkedin: config?.social?.linkedin,