Skip to content

Commit

Permalink
fix(useUpdateGuildPoap): keep requirements on mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
dovalid committed May 3, 2023
1 parent 546a522 commit c45aea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const useUpdateGuildPoap = (
(oldData) => ({
...oldData,
poaps: oldData.poaps.map((poap) =>
poap.id === response.id ? response : poap
poap.id === response.id ? { ...poap, ...response } : poap
),
}),
// needed until replication lag is solved
Expand Down

0 comments on commit c45aea6

Please sign in to comment.