Skip to content

Commit f6413b3

Browse files
committed
fix eslint errors
1 parent b4f1141 commit f6413b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/primer/open_project/danger_dialog_form_helper.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ class DangerDialogFormHelperElement extends HTMLElement {
3333

3434
if (this.liveRegion) {
3535
const message = enabled
36-
? this.dataset.confirmationLiveMessageChecked
37-
: this.dataset.confirmationLiveMessageUnchecked
36+
? this.getAttribute("data-confirmation-live-message-checked")
37+
: this.getAttribute("data-confirmation-live-message-unchecked")
3838

39-
this.liveRegion.textContent = ''
40-
this.liveRegion!.textContent = message || ''
39+
this.liveRegion.textContent = ""
40+
this.liveRegion.textContent = message || ""
4141
}
4242
}
4343

0 commit comments

Comments
 (0)