Rename dev.to

This commit is contained in:
Ariful Alam
2022-03-30 21:30:42 +06:00
parent 6f64574f5c
commit 66d680e2ec
7 changed files with 20 additions and 20 deletions

View File

@@ -238,7 +238,7 @@ GitProfile.propTypes = {
dribbble: PropTypes.string,
behance: PropTypes.string,
medium: PropTypes.string,
devto: PropTypes.string,
dev: PropTypes.string,
website: PropTypes.string,
phone: PropTypes.string,
email: PropTypes.string,

View File

@@ -30,7 +30,7 @@ const Blog = ({ loading, blog, googleAnalytics }) => {
}).then((res) => {
setArticles(res);
});
} else if (blog.source === 'dev.to') {
} else if (blog.source === 'dev') {
getDevPost({
user: blog.username,
}).then((res) => {

View File

@@ -136,12 +136,12 @@ const Details = ({ profile, loading, social, github }) => {
link={`https://medium.com/@${social.medium}`}
/>
)}
{typeof social.devto !== 'undefined' && social.devto && (
{typeof social.dev !== 'undefined' && social.dev && (
<ListItem
icon={<FaDev className="mr-2" />}
title="Dev:"
value={social.devto}
link={`https://dev.to/${social.devto}`}
value={social.dev}
link={`https://dev.to/${social.dev}`}
/>
)}
{typeof social.website !== 'undefined' && social.website && (