Skip to content

Commit

Permalink
Careful.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdilauro committed Jun 26, 2024
1 parent 7165959 commit 6c69f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ClassificationsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ export default class ClassificationsForm extends React.Component<
newBook.targetAgeRange[0] !== this.props.book.targetAgeRange[0] ||
newBook.targetAgeRange[1] !== this.props.book.targetAgeRange[1] ||
newBook.fiction !== this.props.book.fiction ||
newBook.categories.sort() !== this.props.book.categories.sort()
newBook.categories.slice().sort().join("::") !==
this.props.book.categories.slice().sort().join("::")
);
}

Expand Down

0 comments on commit 6c69f64

Please sign in to comment.