Skip to content

Commit 048df51

Browse files
committed
fix: lint
1 parent 2449b0c commit 048df51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/relative-time-element.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ export class RelativeTimeElement extends HTMLElement implements Intl.DateTimeFor
8282
#updating: false | Promise<void> = false
8383

8484
get #lang() {
85-
const lang = this.closest('[lang]')?.getAttribute('lang') ||
86-
this.ownerDocument.documentElement.getAttribute('lang')
85+
const lang = this.closest('[lang]')?.getAttribute('lang') || this.ownerDocument.documentElement.getAttribute('lang')
8786
try {
8887
return new Intl.Locale(lang ?? '').toString()
8988
} catch {

0 commit comments

Comments
 (0)