aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-25 18:07:29 +0100
committerVendicated <vendicated@riseup.net>2022-11-25 18:07:29 +0100
commitb60f6cb18d1d55d367ae2f3c322d76b709eacdfe (patch)
treec2d06ff7643da8244c157c03e877b273b5b61a39 /src/webpack/common.tsx
parentbb398970ef7d60c68191f5e6e153bdba24e07207 (diff)
downloadVencord-b60f6cb18d1d55d367ae2f3c322d76b709eacdfe.tar.gz
Vencord-b60f6cb18d1d55d367ae2f3c322d76b709eacdfe.tar.bz2
Vencord-b60f6cb18d1d55d367ae2f3c322d76b709eacdfe.zip
WhoReacted: Make more reliable & don't spam api
Diffstat (limited to 'src/webpack/common.tsx')
-rw-r--r--src/webpack/common.tsx1
1 files changed, 1 insertions, 0 deletions
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<Stores.MessageStore, "getMessages"> & { getMessages(chanId: string): any; };