Skip to content

Commit c56572b

Browse files
fix(components): fix linter issue
1 parent cb3df3e commit c56572b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/components/src/components/post-header/post-header.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export class PostHeader {
9494
this.updateLocalHeaderHeight = this.updateLocalHeaderHeight.bind(this);
9595
this.keyboardHandler = this.keyboardHandler.bind(this);
9696
this.handleLinkClick = this.handleLinkClick.bind(this);
97+
this.megadropdownStateHandler = this.megadropdownStateHandler.bind(this);
9798
this.checkSlottedContent = this.checkSlottedContent.bind(this);
9899
}
99100

@@ -215,9 +216,9 @@ export class PostHeader {
215216
}
216217

217218
@EventFrom('post-megadropdown')
218-
private megadropdownStateHandler = (event: CustomEvent) => {
219+
private megadropdownStateHandler(event: CustomEvent) {
219220
this.megadropdownOpen = event.detail.isVisible;
220-
};
221+
}
221222

222223
// Get all the focusable elements in the post-header burger menu
223224
private getFocusableElements() {

0 commit comments

Comments
 (0)