"use client"; import PostComposer from "@/components/PostComposer"; import { useUrlStyle } from "@/components/SiteBrandProvider"; import { postPath } from "@/lib/urlStyle"; import type { PostAttachment } from "@/lib/api"; type Props = { postId: number; initialTitle: string; initialContent: string; initialTags: string; initialPostType?: string; initialTypeMeta?: string; initialAttachments?: PostAttachment[]; canEditPollOptions?: boolean; canEditLotteryPrizes?: boolean; boardName: string; boardId: number; boardColorIndex?: number; boardIcon?: string; }; export default function EditPostClient({ postId, initialTitle, initialContent, initialTags, initialPostType, initialTypeMeta, initialAttachments, canEditPollOptions, canEditLotteryPrizes, boardName, boardId, boardColorIndex = 0, boardIcon, }: Props) { const urlStyle = useUrlStyle(); return ( ); }