diff --git a/apps/ai-game-creator-shell/src/view/project-development/export/tabs/xiaohongshu/FormCard.tsx b/apps/ai-game-creator-shell/src/view/project-development/export/tabs/xiaohongshu/FormCard.tsx index b3a1a9784..564948380 100644 --- a/apps/ai-game-creator-shell/src/view/project-development/export/tabs/xiaohongshu/FormCard.tsx +++ b/apps/ai-game-creator-shell/src/view/project-development/export/tabs/xiaohongshu/FormCard.tsx @@ -1,5 +1,4 @@ import { Download, Images, Sparkles } from 'lucide-react'; -import type { ReactNode } from 'react'; import { useId, useState } from 'react'; import { AssetImporter } from '../../../../../components/AssetImporter'; @@ -112,7 +111,6 @@ function FieldRow({ copyable, value, error, - action, onChange, }: { label: string; @@ -122,7 +120,6 @@ function FieldRow({ copyable: boolean; value: string; error: string | null; - action?: ReactNode; onChange: (value: string) => void; }) { const id = useId(); @@ -168,7 +165,6 @@ function FieldRow({ onChange={(event) => onChange(event.target.value)} /> )} - {action ?
{action}
: null} {error ? (

{error}