From 5005fff1e08bb3f334d9ab7e4e25e678f3aaa4ec Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 18 Aug 2022 10:11:47 +0200 Subject: [PATCH] fix build --- .../app/src/lib/remix-app/components/dragbar/dragbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx index 942e293012..952ea8ee48 100644 --- a/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/components/dragbar/dragbar.tsx @@ -20,7 +20,7 @@ const DragBar = (props: IRemixDragBarUi) => { useEffect(() => { setDragBarPosX(offset + (props.hidden ? 0 : props.refObject.current.offsetWidth)) - }, [props.hidden, offset, props.resizeTo]) + }, [props.hidden, offset]) useEffect(() => { initialWidth.current = props.refObject.current.clientWidth