From 620888e73a9f58d2c62bbf983293ad426179482a Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Tue, 13 Aug 2024 11:55:39 +0200 Subject: [PATCH] chore: introduce lint failure for testing 2 --- src/components/datatable/BottomPanel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/datatable/BottomPanel.js b/src/components/datatable/BottomPanel.js index c4ca627ea..61dfe68a3 100644 --- a/src/components/datatable/BottomPanel.js +++ b/src/components/datatable/BottomPanel.js @@ -16,12 +16,13 @@ import styles from './styles/BottomPanel.module.css' // Container for DataTable const BottomPanel = () => { - const dataTableHeight = useSelector((state => state.ui.dataTableHeight) + const dataTableHeight = useSelector((state) => state.ui.dataTableHeight) const layersPanelOpen = useSelector((state) => state.ui.layersPanelOpen) const rightPanelOpen = useSelector((state) => state.ui.rightPanelOpen) const dispatch = useDispatch() - const { width, height } = useWindowDimensions() + const { width, height } = +useWindowDimensions() const panelRef = useRef(null) const onResize = useCallback(