Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed May 9, 2023
1 parent a182f79 commit 19c33dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function resolveImages(
):
| NonNullable<ResolvedMetadata['twitter']>['images']
| NonNullable<ResolvedMetadata['openGraph']>['images'] {
return resolveAsArrayOrUndefined(images)?.map((item, index) => {
return resolveAsArrayOrUndefined(images)?.map((item) => {
if (isStringOrURL(item)) {
return {
url: resolveUrl(item, metadataBase)!,
Expand Down

0 comments on commit 19c33dc

Please sign in to comment.