fix linter (#438)

This commit is contained in:
mayeaux 2021-12-06 19:46:45 +01:00 committed by GitHub
parent 20ca590684
commit e982d9c13c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ export default React.memo<Props>(function RecommendedContent(props: Props) {
if (title) { if (title) {
for (const term of termsToCheck) { for (const term of termsToCheck) {
if (claimNameToCheckAgainst.includes(term)) { if (claimNameToCheckAgainst && claimNameToCheckAgainst.includes(term)) {
triggerBlacklist = true; triggerBlacklist = true;
} }
if (title.includes(term)) { if (title.includes(term)) {