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) {