diff --git a/src/index.tsx b/src/index.tsx index b3b03ce0f..962bfc469 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,6 +5,8 @@ import { TTheme as Theme, ThemeEvents, refreshTheme } from "./ui/React/Theme"; import { LoadingScreen } from "./ui/LoadingScreen"; import { initElectron } from "./Electron"; initElectron(); +globalThis["React"] = React; +globalThis["ReactDOM"] = ReactDOM; ReactDOM.render(