mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 23:23:04 -04:00
build: inject createElement alias (#176)
This commit is contained in:
parent
37105ac416
commit
93859883c1
7 changed files with 40 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue