diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/vencordToolbox.tsx | 3 |
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> |