diff --git a/frontend/src/components/projectDetail/questionsAndComments.js b/frontend/src/components/projectDetail/questionsAndComments.js index df2a4e34f6..4e826e8aa8 100644 --- a/frontend/src/components/projectDetail/questionsAndComments.js +++ b/frontend/src/components/projectDetail/questionsAndComments.js @@ -46,7 +46,9 @@ export const PostProjectComment = ({ projectId, refetchComments, contributors }) isShowUserPicture isShowFooter isShowTabNavs - contributors={contributors?.map((user) => user.username)} + contributors={ + Array.isArray(contributors) ? contributors.map((user) => user.username) : undefined + } />