Skip to content

Commit fa5fc02

Browse files
committed
Revert unnecessary changes
1 parent df456dd commit fa5fc02

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

web_src/js/features/repo-issue.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ export function initRepoIssueCommentDelete() {
150150
counter.textContent = String(num);
151151
}
152152

153-
const json: Record<string, any> = await response.json();
154-
if (json.errorMessage) throw new Error(json.errorMessage);
155-
156-
if (json.deletedReviewCommentHashTag) {
157-
document.querySelector(`#${json.deletedReviewCommentHashTag}`)?.remove();
158-
}
159153
document.querySelector(`#${deleteButton.getAttribute('data-comment-id')}`)?.remove();
160154

161155
if (conversationHolder && !conversationHolder.querySelector('.comment')) {

0 commit comments

Comments
 (0)