We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df456dd commit fa5fc02Copy full SHA for fa5fc02
web_src/js/features/repo-issue.ts
@@ -150,12 +150,6 @@ export function initRepoIssueCommentDelete() {
150
counter.textContent = String(num);
151
}
152
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
- }
159
document.querySelector(`#${deleteButton.getAttribute('data-comment-id')}`)?.remove();
160
161
if (conversationHolder && !conversationHolder.querySelector('.comment')) {
0 commit comments