From e52225304e47d92bf1b84f5a2c8e97ab57bd85a4 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 8 Sep 2022 21:47:53 +0200 Subject: Add modal api --- src/components/Settings.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components') diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 1e13d7f..89159c4 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -7,6 +7,7 @@ import { Button, ButtonProps, Flex, Switch, Forms, React } from "../webpack/comm import ErrorBoundary from "./ErrorBoundary"; import { startPlugin } from "../plugins"; import { stopPlugin } from '../plugins/index'; +import { openModal, closeModal } from '../utils/modal'; export default ErrorBoundary.wrap(function Settings(props) { const [settingsDir, , settingsDirPending] = useAwaiter(() => VencordNative.ipc.invoke(IpcEvents.GET_SETTINGS_DIR), "Loading..."); -- cgit