Skip to content

Commit c3fadb3

Browse files
author
printf("bosshudsawat.com")
committed
fix: Add type assertion to profile image src in OpenGraph and Twitter images.
1 parent 910252f commit c3fadb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/opengraph-image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default async function Image() {
6969
>
7070
{/* @ts-ignore */}
7171
<img
72-
src={profileImageSrc}
72+
src={profileImageSrc as any}
7373
width="100"
7474
height="100"
7575
style={{

src/app/twitter-image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default async function Image() {
6969
>
7070
{/* @ts-ignore */}
7171
<img
72-
src={profileImageSrc}
72+
src={profileImageSrc as any}
7373
width="100"
7474
height="100"
7575
style={{

0 commit comments

Comments
 (0)