Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2ddf6cb

Browse files
committed
Apparently that can be undefined, who knew
1 parent cc47f5d commit 2ddf6cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/containers/comment-decorations-container.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export default class CommentDecorationsContainer extends React.Component {
146146

147147
if (
148148
!props || !props.repository || !props.repository.ref ||
149+
!props.repository.ref.associatedPullRequests ||
149150
props.repository.ref.associatedPullRequests.totalCount === 0
150151
) {
151152
// no loading spinner for you

0 commit comments

Comments
 (0)