From 5f56eb8f0ee3cbd672a0d08b85cdd7b3baaddb44 Mon Sep 17 00:00:00 2001 From: maciek Date: Thu, 27 Apr 2023 16:12:12 +0200 Subject: [PATCH] feat: market view persistent pane sizes - add unit test --- libs/react-helpers/src/hooks/use-pane-layout.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/react-helpers/src/hooks/use-pane-layout.ts b/libs/react-helpers/src/hooks/use-pane-layout.ts index 529811701..41238cc95 100644 --- a/libs/react-helpers/src/hooks/use-pane-layout.ts +++ b/libs/react-helpers/src/hooks/use-pane-layout.ts @@ -30,6 +30,7 @@ interface UsePaneLayoutProps { export const usePaneLayout = ({ id }: UsePaneLayoutProps) => { const sizes = usePaneLayoutStore((store) => store.sizes[id]) || []; const valueSetter = usePaneLayoutStore((store) => store.valueSetter); + // eslint-disable-next-line react-hooks/exhaustive-deps const handleOnChange = useCallback( debounce((args) => { if (args.length) {