Skip to content

Commit a804adb

Browse files
authored
fix: don't use optional chaining
1 parent a9cb383 commit a804adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/contributors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default {
136136
137137
xhr.open('GET', url, true)
138138
xhr.addEventListener('load', onLoad, {
139-
signal: this.controller?.signal
139+
signal: this.controller ? this.controller.signal : undefined
140140
})
141141
// Initiate the request
142142
xhr.send()

0 commit comments

Comments
 (0)