Skip to content

Commit

Permalink
Fix unnecessary block codacy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstubbs committed Dec 24, 2024
1 parent 9ffdc92 commit 2281581
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions starters/nextjs-starter/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function getSeoMetadata(article) {
}
break;
}
case "complex-author": {
case "complex-author":
if (typeof v === "string") {
const authorName = getAuthorById(v)?.label;

Expand All @@ -62,7 +62,6 @@ export function getSeoMetadata(article) {
}
}
break;
}
}
});

Expand Down

0 comments on commit 2281581

Please sign in to comment.