From f0dcb75b50a16680b75f82533d5fc44e4e6fdb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Fri, 27 Dec 2024 15:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=AF=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E8=83=BD=E5=A4=9F=E6=8E=A5=E5=8F=97=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E7=B1=BB=E5=9E=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EditableDescription.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EditableDescription.tsx b/src/components/EditableDescription.tsx index 6057511..8a71d13 100644 --- a/src/components/EditableDescription.tsx +++ b/src/components/EditableDescription.tsx @@ -5,7 +5,7 @@ import styles from './EditableDescription.module.css'; type EditableDescriptionProps = { content?: string | null; - onChange?: (newContent: string) => void; + onChange?: (newContent: string | null) => void; }; export function EditableDescription({ content, onChange }: EditableDescriptionProps) {