aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common/react.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2023-02-10 22:33:34 +0100
committerGitHub <noreply@github.com>2023-02-10 22:33:34 +0100
commit1d995e58f515dbeb908ba34bf70f829bfd3ccfac (patch)
treedf8c540f5656028502288ab4e58e41754f723bc9 /src/webpack/common/react.ts
parent6114bc6b168607613d06ae8fb4f29e74c763a417 (diff)
downloadVencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.tar.gz
Vencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.tar.bz2
Vencord-1d995e58f515dbeb908ba34bf70f829bfd3ccfac.zip
Notification API (#467)
Co-authored-by: Ven <vendicated@riseup.net> Co-authored-by: afn <hey@afn.lol> Co-authored-by: afn <afnzmn@gmail.com>
Diffstat (limited to 'src/webpack/common/react.ts')
-rw-r--r--src/webpack/common/react.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common/react.ts b/src/webpack/common/react.ts
index 455f39b..d73a3df 100644
--- a/src/webpack/common/react.ts
+++ b/src/webpack/common/react.ts
@@ -25,7 +25,7 @@ export let useEffect: typeof React.useEffect;
export let useMemo: typeof React.useMemo;
export let useRef: typeof React.useRef;
-export const ReactDOM: typeof import("react-dom") = findByPropsLazy("createPortal", "render");
+export const ReactDOM: typeof import("react-dom") & typeof import("react-dom/client") = findByPropsLazy("createPortal", "render");
waitFor("useState", m => {
React = m;