diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index 8fdb3f3..fc5b17d 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -23,7 +23,7 @@ export const metadata: Metadata = { template: "%s | FastVote", }, description: "빠른 익명 투표 - 간편하게 투표를 만들고 공유하세요", - metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || "https://fastvote.geekgoing.com"), + metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || "https://fastvote.geekgoing.org"), openGraph: { title: "FastVote", description: "빠른 익명 투표 - 간편하게 투표를 만들고 공유하세요", diff --git a/frontend/app/vote/[uuid]/vote-client.tsx b/frontend/app/vote/[uuid]/vote-client.tsx index 235f750..6e608b8 100644 --- a/frontend/app/vote/[uuid]/vote-client.tsx +++ b/frontend/app/vote/[uuid]/vote-client.tsx @@ -288,7 +288,7 @@ export function VoteClient({ params }: PageProps) { content: commentContent.trim(), nickname: commentNickname.trim() || undefined, }); - setComments([...comments, newComment]); + setComments([newComment, ...comments]); setCommentContent(''); setCommentNickname(''); } catch (err) { @@ -779,7 +779,7 @@ export function VoteClient({ params }: PageProps) { - {/* Comments List */} + {/* Comments List (newest first) */}
{t.noCommentsYet}