diff --git a/src/components/forms/FormEdit.tsx b/src/components/forms/FormEdit.tsx index 95ae4b3..a9853d2 100644 --- a/src/components/forms/FormEdit.tsx +++ b/src/components/forms/FormEdit.tsx @@ -98,7 +98,9 @@ export function FormEdit({ function allFieldsBook(book: BookType): boolean { return ( Object.entries(book) - .filter(([key]) => key !== 'sourceLink' && key !== 'pathUrl') + .filter( + ([key]) => key !== 'sourceLink' && key !== 'pathUrl' && key !== 'rating', + ) .every(([, value]) => value) && book.category.length > 0 ); }