diff --git a/src/index.js b/src/index.js index f83e6cc424fd4f998d3e0522d91472ff93a41574..06521c7fae65d73542dc2a10a622e2b416cfc900 100644 --- a/src/index.js +++ b/src/index.js @@ -3,6 +3,7 @@ import { createRoot } from "react-dom/client"; import "./index.css"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; +import { LicenseInfo } from "@mui/x-license-pro"; if ( process.env.NODE_ENV === "development" && @@ -20,6 +21,9 @@ if ( worker.start(); } +// Set license key +LicenseInfo.setLicenseKey(process.env.REACT_APP_MUI_PRO_LICENSE_KEY); + const container = document.getElementById("root"); const root = createRoot(container);