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(