Skip to content

Commit

Permalink
Fix starters build.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstubbs committed Oct 17, 2024
1 parent 45d8f50 commit 9c864b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starters/nextjs-starter/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getSeoMetadata(article) {
switch (key) {
case "author": {
if (typeof v === "string") {
authors = [v];
authors.push(v);
}
break;
}
Expand All @@ -58,7 +58,7 @@ export function getSeoMetadata(article) {
const authorName = getAuthorById(v)?.name;

if (authorName) {
authors.push({ name: v });
authors.push(v);
}
}
break;
Expand Down

0 comments on commit 9c864b5

Please sign in to comment.