Skip to content

Commit 3a78697

Browse files
committed
fix-missing-dep-useffect-hook
1 parent fd673c8 commit 3a78697

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/public/components/utils/resource-log.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ export const ResourceLog: React.FC<ResourceLogProps> = ({
565565
.onerror(onError)
566566
.onmessage(onMessage)
567567
.onopen(onOpen);
568-
}, [watchURL, subprotocols]);
568+
}, [watchURL, subprotocols, buffer]);
569569
// Restart websocket if startWebSocket function changes
570570
React.useEffect(() => {
571571
if (

0 commit comments

Comments
 (0)