Skip to content

Commit

Permalink
chore: fix space in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Oct 9, 2024
1 parent 3d3921a commit 45ed7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity-cms/components/SanityPortableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function SanityPortableText({ value, className, ...props }: SanityPortabl
continue;
}
} else if (blocks.length < 3 && block._type === 'image') {
//Prioritize images in the first 5 blocks of the content
// Prioritize images in the first 5 blocks of the content
// @ts-expect-error - This is a workaround to make TS happy
block.priority = true;
}
Expand Down

0 comments on commit 45ed7b7

Please sign in to comment.