Skip to content

Commit 6135de6

Browse files
committed
chore: fix linting issues
1 parent d75aee4 commit 6135de6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/pages/News/NewsPage.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,11 @@ const NewsPage: React.FC = () => {
499499
>
500500
{post.image ? (
501501
<picture>
502-
{post.image.endsWith(".png") && (
503-
<source srcSet={post.image.replace(/\.png$/, ".webp")} type="image/webp" />
502+
{post.image.endsWith('.png') && (
503+
<source
504+
srcSet={post.image.replace(/\.png$/, '.webp')}
505+
type="image/webp"
506+
/>
504507
)}
505508
<img
506509
src={post.image}

0 commit comments

Comments
 (0)