Skip to content

Commit a417a68

Browse files
committed
Fixup comment that got moved to a stale location.
1 parent a40f81a commit a417a68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/enhancers/github/GitHubEditEnhancer.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ export class GitHubEditEnhancer implements CommentEnhancer<GitHubEditSpot> {
4646
"[data-wrapper-timeline-id]"
4747
)
4848
const isPRBodyEdit =
49-
textarea.name === "pull_request[body]" ||
50-
textarea.name === "issue_comment[body]"
51-
// ^this is the root pr comment ^this is the other pr comments (surprising!)
49+
textarea.name === "pull_request[body]" || // this is the root pr comment
50+
textarea.name === "issue_comment[body]" // this is the other pr comments (surprising!)
5251

5352
if (!isIssueBodyRootEdit && !isIssueBodyCommentEdit && !isPRBodyEdit) {
5453
return null

0 commit comments

Comments
 (0)