Skip to content

Commit

Permalink
Suppress unused method lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetlath committed Feb 28, 2024
1 parent c318f69 commit e5e0347
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/OptionsSelector/BaseOptionsSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ class BaseOptionsSelector extends Component {
document.addEventListener('focusout', this.handleFocusOut);
}

// eslint-disable-next-line react/no-unused-class-component-methods
unSubscribeActiveElement() {
if (!this.isWebOrDesktop) {
return;
Expand Down Expand Up @@ -366,6 +367,7 @@ class BaseOptionsSelector extends Component {
}
}

// eslint-disable-next-line react/no-unused-class-component-methods
focus() {
if (!this.textInput) {
return;
Expand Down

0 comments on commit e5e0347

Please sign in to comment.