Skip to content

Commit

Permalink
fix(tasks): update deep equal comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Mar 14, 2024
1 parent 999be08 commit 1dc4c28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function TasksNotificationTargetInner(props: ObjectFieldProps<TaskDocument>) {
targetContentImageUrl: imageUrl,
targetContentTitle: targetContentTitle,
}
if (deepEquals(notificationTarget, context)) return
if (deepEquals(notificationTarget, context?.notification)) return

onChange(set(notificationTarget, ['notification']))
}, [
Expand Down

0 comments on commit 1dc4c28

Please sign in to comment.