diff --git a/app/components/github/contributorslist.js b/app/components/github/contributorslist.js index fc4b18a5..a7556506 100644 --- a/app/components/github/contributorslist.js +++ b/app/components/github/contributorslist.js @@ -1,8 +1,14 @@ -import Image from 'next/image'; +import Image from "next/image"; const ContributorsList = (props) => { - - let contributors = props.data.contributors.Contributors; + let contributors = []; + if ( + props.data && + props.data.contributors && + Array.isArray(props.data.contributors.Contributors) + ) { + contributors = props.data.contributors.Contributors; + } return (
ERROR
+ )} +ERROR
+ )} ++ Showcase your Gitlab Projects +
+ +
+
+
+
+
+
+
+
+