diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Monaco.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Monaco.ts b/src/components/Monaco.ts index 16eff85..6d16c76 100644 --- a/src/components/Monaco.ts +++ b/src/components/Monaco.ts @@ -25,7 +25,7 @@ import { find } from "../webpack/webpack"; const queue = new Queue(); const setCss = debounce((css: string) => { - queue.add(() => VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, css)); + queue.push(() => VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, css)); }); export async function launchMonacoEditor() { |