aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-05-02 02:57:25 +0200
committerVendicated <vendicated@riseup.net>2023-05-02 02:57:25 +0200
commitd94b28fb8ee43fe21b59ea61eb3700a6006226ec (patch)
tree723a7c2f616f78472ac3227f92b62b19823f7b97
parentbc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9 (diff)
downloadVencord-d94b28fb8ee43fe21b59ea61eb3700a6006226ec.tar.gz
Vencord-d94b28fb8ee43fe21b59ea61eb3700a6006226ec.tar.bz2
Vencord-d94b28fb8ee43fe21b59ea61eb3700a6006226ec.zip
Fix VencordToolbox
-rw-r--r--src/plugins/vencordToolbox.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/vencordToolbox.tsx b/src/plugins/vencordToolbox.tsx
index 52ebb65..939bbd5 100644
--- a/src/plugins/vencordToolbox.tsx
+++ b/src/plugins/vencordToolbox.tsx
@@ -19,7 +19,6 @@
import { openNotificationLogModal } from "@api/Notifications/notificationLog";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
-import IpcEvents from "@utils/IpcEvents";
import { LazyComponent } from "@utils/misc";
import definePlugin from "@utils/types";
import { findByCode } from "@webpack";
@@ -68,7 +67,7 @@ function VencordPopout(onClose: () => void) {
<Menu.MenuItem
id="vc-toolbox-quickcss"
label="Open QuickCSS"
- action={() => VencordNative.ipc.invoke(IpcEvents.OPEN_MONACO_EDITOR)}
+ action={() => VencordNative.quickCss.openEditor()}
/>
{...pluginEntries}
</Menu.Menu>