From 04d6f341ee3122e36044739d533a69e4312dd116 Mon Sep 17 00:00:00 2001 From: Ven Date: Tue, 1 Nov 2022 01:49:41 +0100 Subject: PatchHelper, a tool to help you write patches (#182) --- src/webpack/common.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/webpack') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 4c59102..77d339c 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -27,6 +27,7 @@ export const Margins = lazyWebpack(filters.byProps("marginTop20")); export let FluxDispatcher: Other.FluxDispatcher; export let React: typeof import("react"); +export const ReactDOM: typeof import("react-dom") = lazyWebpack(filters.byProps("createPortal", "render")); export let GuildStore: Stores.GuildStore; export let UserStore: Stores.UserStore; -- cgit