Skip to content

Commit

Permalink
Merge pull request #13640 from cyril-ui-developer/fix-missing-dep-use…
Browse files Browse the repository at this point in the history
…ffect-hook

OCPBUGS-30046: Missing dependency warning error in console UI dev env
  • Loading branch information
openshift-merge-bot[bot] committed Mar 1, 2024
2 parents 44276ee + 3a78697 commit d6e2e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/public/components/utils/resource-log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ export const ResourceLog: React.FC<ResourceLogProps> = ({
.onerror(onError)
.onmessage(onMessage)
.onopen(onOpen);
}, [watchURL, subprotocols]);
}, [watchURL, subprotocols, buffer]);
// Restart websocket if startWebSocket function changes
React.useEffect(() => {
if (
Expand Down

0 comments on commit d6e2e1e

Please sign in to comment.