Graylog2 / graylog-plugin-integrations

A collection of open source Graylog integrations that will be released together.
Other
14 stars 14 forks source link

fix(1334): use navigate in useEffect hook #1335

Closed zeeklop closed 1 year ago

zeeklop commented 1 year ago

Notes for Reviewers

Fixes a navigation issue that was causing a race condition where the HOC was expecting a modal view as a form. This input mounts a component that redirects the user to the stepper form view, unmounting the HOC, preventing the call to this._openModal on the onClick event for the Lunc new input button.

/nocl