From 79ba1fd541a73bd8506a09697d767b6fd2bf75f6 Mon Sep 17 00:00:00 2001 From: David Matejka Date: Fri, 24 Nov 2023 16:22:26 +0100 Subject: [PATCH] fix(react-datagrid-ui): pass correct env --- .../src/rendering/DataGridContainer.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/react-datagrid-ui/src/rendering/DataGridContainer.tsx b/packages/react-datagrid-ui/src/rendering/DataGridContainer.tsx index fbaaba326c..e880ce09ad 100644 --- a/packages/react-datagrid-ui/src/rendering/DataGridContainer.tsx +++ b/packages/react-datagrid-ui/src/rendering/DataGridContainer.tsx @@ -5,6 +5,7 @@ import { DataGridContent } from './DataGridContent' import { DataGridFooter } from './DataGridFooter' import { DataGridRenderingCommonProps } from '../types' import { useClassName } from '@contember/react-utils' +import { EnvironmentContext } from '@contember/react-binding' export const createDataGridContainer = ({ Header, Content, Footer }: { @@ -14,9 +15,11 @@ export const createDataGridContainer = memo(props => { return ( -
- -