From b60f6cb18d1d55d367ae2f3c322d76b709eacdfe Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 25 Nov 2022 18:07:29 +0100 Subject: WhoReacted: Make more reliable & don't spam api --- src/webpack/common.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/webpack/common.tsx') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 6ebad16..2f3768e 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -32,6 +32,7 @@ export const Flux = lazyWebpack(filters.byProps("connectStores")); export let React: typeof import("react"); export const ReactDOM: typeof import("react-dom") = lazyWebpack(filters.byProps("createPortal", "render")); +export const RestAPI = lazyWebpack(filters.byProps("getAPIBaseURL", "get")); export const moment: typeof import("moment") = lazyWebpack(filters.byProps("parseTwoDigitYear")); export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Omit & { getMessages(chanId: string): any; }; -- cgit