diff --git a/src/components/GitProfile.jsx b/src/components/GitProfile.jsx index 0c9d3a8..31c6e91 100644 --- a/src/components/GitProfile.jsx +++ b/src/components/GitProfile.jsx @@ -9,7 +9,7 @@ import Skill from './skill'; import Experience from './experience'; import Certification from './certification'; import Education from './education'; -import Project from './project'; +import GitHubProject from './github-project'; import Blog from './blog'; import Footer from './footer'; import { @@ -197,7 +197,7 @@ const GitProfile = ({ config }) => {
- { +const GitHubProject = ({ repo, loading, github, googleAnalytics }) => { if (!loading && Array.isArray(repo) && repo.length === 0) { return <>; } @@ -166,11 +166,11 @@ const Project = ({ repo, loading, github, googleAnalytics }) => { ); }; -Project.propTypes = { +GitHubProject.propTypes = { repo: PropTypes.array, loading: PropTypes.bool.isRequired, github: PropTypes.object.isRequired, googleAnalytics: PropTypes.object.isRequired, }; -export default Project; +export default GitHubProject;