Skip to content

Commit 89fef7d

Browse files
committed
resolve lint spacing
1 parent e974b13 commit 89fef7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/module/src/DataViewTh/DataViewTh.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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';

0 commit comments

Comments
 (0)