This commit is contained in:
thororen1234 2024-07-10 15:25:18 -04:00
parent 102851558d
commit 0c67c597f0
3 changed files with 8 additions and 7 deletions

View file

@ -128,7 +128,6 @@ function patchPush(webpackGlobal: any) {
// being applied multiple times.
// Thus, override bind to use the original push
handlePush.bind = (...args: unknown[]) => handlePush.$$vencordOriginal.bind(...args);
handlePush.toString = handlePush.$$vencordOriginal.toString.bind(handlePush.$$vencordOriginal);
Object.defineProperty(webpackGlobal, "push", {
configurable: true,