Skip to content

Commit

Permalink
ShareDialogコンポーネントの画像最適化設定を修正し、API OGPプレビューの最適化を無効化 (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze authored Feb 18, 2025
2 parents b968572 + 064bf4a commit 82202d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function ShareDialog({ title, firstImageUrl }: ShareDialogProps) {
<p className="text-sm mb-2 text-center">Generated</p>
<div className="relative w-full aspect-[1.91/1]">
<Image
unoptimized
src={apiOgpUrl}
alt="API OGP Preview"
fill
Expand Down Expand Up @@ -124,7 +125,6 @@ export function ShareDialog({ title, firstImageUrl }: ShareDialogProps) {
<p className="text-sm mb-2 text-center">First Image</p>
<div className="relative w-full aspect-[1.91/1]">
<Image
unoptimized
src={firstImageUrl}
alt="Image OGP Preview"
fill
Expand Down

0 comments on commit 82202d8

Please sign in to comment.