Skip to content

Commit

Permalink
Remove guard clause
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmaa committed Aug 22, 2024
1 parent 373122d commit d985550
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/js/background/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ export class Backend {

/** @type {import('api').ApiHandler<'isTextLookupWorthy'>} */
_onApiIsTextLookupWorthy({text, language}) {
if (text === null) { return false; }
return isTextLookupWorthy(text, language);
}

Expand Down

0 comments on commit d985550

Please sign in to comment.