fix: Input data is not a String when clicking on new collection description

This commit is contained in:
Tom Moor
2021-02-16 23:42:31 -08:00
parent 54bf7a9dea
commit 6a8a83610f

View File

@ -91,7 +91,7 @@ function CollectionDescription({ collection }: Props) {
<Editor
id={collection.id}
key={key}
defaultValue={collection.description}
defaultValue={collection.description || ""}
onChange={handleChange}
placeholder={placeholder}
readOnly={!isEditing}