File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/module/src/DataViewTh Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const DataViewTh: FC<DataViewThProps> = ({
4949
5050 const isResizable = resizableProps . isResizable ;
5151 const resizeButtonRef = useRef < HTMLButtonElement > ( null ) ;
52- const [ width , setWidth ] = useState ( resizableProps . width ? resizableProps . width : 0 ) ;
52+ const [ width , setWidth ] = useState ( resizableProps . width ? resizableProps . width : 0 ) ;
5353 const increment = resizableProps . increment || 5 ;
5454 const onResize = resizableProps . onResize ;
5555 const setInitialVals = useRef ( true ) ;
@@ -65,7 +65,7 @@ export const DataViewTh: FC<DataViewThProps> = ({
6565
6666 const observed = resizeButtonRef . current ;
6767 const observer = new IntersectionObserver (
68- ( [ entry ] ) => {
68+ ( [ entry ] ) => {
6969 isInView . current = entry . isIntersecting ;
7070 } ,
7171 { threshold : 0.3 }
@@ -87,7 +87,7 @@ export const DataViewTh: FC<DataViewThProps> = ({
8787 setWidth ( thRef . current ?. getBoundingClientRect ( ) . width || 0 ) ;
8888 setInitialVals . current = false ;
8989 }
90- } , [ isResizable , setInitialVals ] ) ;
90+ } , [ isResizable , setInitialVals ] ) ;
9191
9292 const setDragOffset = ( e : ReactMouseEvent | ReactTouchEvent ) => {
9393 const isRTL = getLanguageDirection ( thRef . current as HTMLElement ) === 'rtl' ;
You can’t perform that action at this time.
0 commit comments