From 93859883c12cbc39e0142840b633fc288e9ecc75 Mon Sep 17 00:00:00 2001 From: Ven Date: Sat, 29 Oct 2022 20:27:48 +0200 Subject: build: inject createElement alias (#176) --- src/webpack/common.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/webpack/common.tsx') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 2f9aaa9..f5b2401 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -115,11 +115,7 @@ export const Clipboard = mapMangledModuleLazy('document.queryCommandEnabled("cop SUPPORTS_COPY: x => typeof x === "boolean", }); -waitFor("useState", m => { - window._Ve$ = m.createElement; - window._VF$ = m.Fragment; - React = m; -}); +waitFor("useState", m => React = m); waitFor(["dispatch", "subscribe"], m => { FluxDispatcher = m; -- cgit