Fix VencordToolbox
This commit is contained in:
parent
bc1d8694d4
commit
d94b28fb8e
|
@ -19,7 +19,6 @@
|
||||||
import { openNotificationLogModal } from "@api/Notifications/notificationLog";
|
import { openNotificationLogModal } from "@api/Notifications/notificationLog";
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import IpcEvents from "@utils/IpcEvents";
|
|
||||||
import { LazyComponent } from "@utils/misc";
|
import { LazyComponent } from "@utils/misc";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
import { findByCode } from "@webpack";
|
import { findByCode } from "@webpack";
|
||||||
|
@ -68,7 +67,7 @@ function VencordPopout(onClose: () => void) {
|
||||||
<Menu.MenuItem
|
<Menu.MenuItem
|
||||||
id="vc-toolbox-quickcss"
|
id="vc-toolbox-quickcss"
|
||||||
label="Open QuickCSS"
|
label="Open QuickCSS"
|
||||||
action={() => VencordNative.ipc.invoke(IpcEvents.OPEN_MONACO_EDITOR)}
|
action={() => VencordNative.quickCss.openEditor()}
|
||||||
/>
|
/>
|
||||||
{...pluginEntries}
|
{...pluginEntries}
|
||||||
</Menu.Menu>
|
</Menu.Menu>
|
||||||
|
|
Loading…
Reference in a new issue