Skip to content

Commit

Permalink
Fix = vs == in find user
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcnulty committed Dec 11, 2023
1 parent dad03ed commit 86d06eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function CheckListForm({

const userIsOwner = values.owner_id == user.id;

const owner = users.find((u) => (u.userId = values.owner_id));
const owner = users.find((u) => u.userId == values.owner_id);

const [deleteChecklist] = useMutation(DELETE_CHECKLIST);

Expand Down

0 comments on commit 86d06eb

Please sign in to comment.