Skip to content

Commit

Permalink
fix(suggest): error when field authors was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahonestla committed Jan 13, 2025
1 parent 4b76ada commit 103e766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/pages/suggest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ export default function Suggest() {
disabled={items.some((item) => item.id === data.id)}
isIdentified={
!!data?.authors
.map((a) => a.person)
.includes(author.id)
?.map((a) => a.person)
?.includes(author.id)
}
/>
))
Expand Down

0 comments on commit 103e766

Please sign in to comment.