From f4282571c75603053924f10712b27cd74ace3d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= Date: Mon, 1 Nov 2021 10:52:34 +0100 Subject: [PATCH] Chore: Fix NodeGraph useCallback dependencies (#41105) --- public/app/plugins/panel/nodeGraph/useZoom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/panel/nodeGraph/useZoom.ts b/public/app/plugins/panel/nodeGraph/useZoom.ts index bbbf4775344..9eb924fae58 100644 --- a/public/app/plugins/panel/nodeGraph/useZoom.ts +++ b/public/app/plugins/panel/nodeGraph/useZoom.ts @@ -64,7 +64,7 @@ export function useZoom({ stepUp, stepDown, min, max } = defaultOptions) { } } }, - [onStepDown, onStepUp] + [min, max, scale] ); useEffect(() => {