Skip to content

Commit

Permalink
fixed (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler authored Jan 25, 2024
1 parent 556db51 commit 57123d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Containers/TriggerDuplicateContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ const TriggerDuplicateContainer = (props: Props) => {
if (!trigger) {
return;
}

setTrigger({ ...trigger, ...update });
setTrigger((prev) => {
return { ...prev, ...update };
});
dispatch(setError(null));

if (update.targets || update?.trigger_source) {
Expand Down

0 comments on commit 57123d3

Please sign in to comment.