Fix VencordToolbox

This commit is contained in:
Vendicated 2023-05-02 02:57:25 +02:00
parent bc1d8694d4
commit d94b28fb8e
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -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>