diff --git a/app/lib/image.ts b/app/lib/image.ts index 0793962..dee576a 100644 --- a/app/lib/image.ts +++ b/app/lib/image.ts @@ -33,7 +33,7 @@ export class CreateImage { const text = lines[i]; ctx.font = "50px NotoColorEmoji Regular"; - ctx.fillText(emoji ?? "", 75, 930 - i * 60); + ctx.fillText([...emoji][0] ?? "", 75, 930 - i * 60); ctx.font = "56px Pretendard Bold"; ctx.fillText(text ?? "", 75 + 80, 930 - i * 60); @@ -176,4 +176,4 @@ export class CreateImage { console.error("Error saving story info image:", error); } } -} \ No newline at end of file +}