Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(VncConsole): prevent running initialization code more than once (p…
…atternfly#8373) The functions that were on the dependency list of the useEffect hook got redefined each time the component got updated, resulting in the component's initialization code, from within the useEffect hook, to be running more than once. That was unwanted behavior and the useCallback wrappers should prevent it.
- Loading branch information