From 5a6b94bcc30d3c51385d1d3928de1035755ad637 Mon Sep 17 00:00:00 2001 From: "s.teleshev" Date: Thu, 25 Jan 2024 16:58:12 +0100 Subject: [PATCH] CB-4429 revert changes [2] --- webapp/packages/core-blocks/src/Split/Split.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webapp/packages/core-blocks/src/Split/Split.tsx b/webapp/packages/core-blocks/src/Split/Split.tsx index 0d004953dbd..2f1192fff6e 100644 --- a/webapp/packages/core-blocks/src/Split/Split.tsx +++ b/webapp/packages/core-blocks/src/Split/Split.tsx @@ -7,7 +7,6 @@ */ import { Split as BaseSplit, SplitProps } from 'go-split'; import { observer } from 'mobx-react-lite'; -import { useRef } from 'react'; import { s } from '../s'; import { useS } from '../useS'; @@ -17,10 +16,9 @@ export type ISplitProps = SplitProps; export const Split = observer(function Split({ className, split, ...rest }) { const styles = useS(style); - const ref = useRef(null); const vertical = split === 'vertical' || split === undefined; const horizontal = split === 'horizontal'; - return ; + return ; });