diff --git a/packages/toolpad-components/src/DataGrid.tsx b/packages/toolpad-components/src/DataGrid.tsx index e5c0d7e3855..9eb59532f79 100644 --- a/packages/toolpad-components/src/DataGrid.tsx +++ b/packages/toolpad-components/src/DataGrid.tsx @@ -2,7 +2,6 @@ import { DataGridProProps, DataGridPro, GridToolbar, - LicenseInfo, GridColumnResizeParams, GridColumns, GridRowsProp, @@ -123,15 +122,6 @@ export function inferColumns(rows: GridRowsProp): GridColumns { })); } -const LICENSE = - typeof window !== 'undefined' - ? window.document.querySelector('meta[name=x-data-grid-pro-license]')?.getAttribute('content') - : null; - -if (LICENSE) { - LicenseInfo.setLicenseKey(LICENSE); -} - const EMPTY_COLUMNS: GridColumns = []; const EMPTY_ROWS: GridRowsProp = [];