Skip to content

Commit

Permalink
Address Sonarlint error in Questions and Comments section
Browse files Browse the repository at this point in the history
  • Loading branch information
royallsilwallz committed Nov 6, 2023
1 parent 8257917 commit a6399ff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
/>
</div>

Expand Down

0 comments on commit a6399ff

Please sign in to comment.