Skip to content

Commit

Permalink
Resolve bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
brijesh-elastic committed Jul 29, 2024
1 parent 103d1a9 commit d5c5eca
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ const TheHiveParamsFields: React.FunctionComponent<ActionParamsProps<ExecutorPar
index
);
}
}, [actionParams, editAction, index]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [actionParams]);

useEffect(() => {
editAction('subAction', eventAction, index);
}, [eventAction, editAction, index]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [eventAction]);

const setEventActionType = (eventActionType: SUB_ACTION) => {
const subActionParams =
Expand Down

0 comments on commit d5c5eca

Please sign in to comment.