diff --git a/packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx b/packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx index 8e3325ee9a..6f24bf663e 100644 --- a/packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx +++ b/packages/dashboard-core-plugins/src/GridWidgetPlugin.tsx @@ -7,11 +7,14 @@ import { IrisGridModelFactory, type IrisGridModel, } from '@deephaven/iris-grid'; +import { useSelector } from 'react-redux'; +import { getSettings, RootState } from '@deephaven/redux'; export function GridWidgetPlugin( props: WidgetComponentProps ): JSX.Element | null { const dh = useApi(); + const settings = useSelector(getSettings); const [model, setModel] = useState(); const { fetch } = props; @@ -33,7 +36,7 @@ export function GridWidgetPlugin( }; }, [dh, fetch]); - return model ? : null; + return model ? : null; } export default GridWidgetPlugin;