diff options
author | Vendicated <vendicated@riseup.net> | 2022-09-08 21:47:53 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-09-08 21:47:53 +0200 |
commit | e52225304e47d92bf1b84f5a2c8e97ab57bd85a4 (patch) | |
tree | 77fecc6a6480487746ed2008275067e01b168753 /src/components/Settings.tsx | |
parent | 4f531b36344390365adc2ddbf0bffec90b8303b7 (diff) | |
download | Vencord-e52225304e47d92bf1b84f5a2c8e97ab57bd85a4.tar.gz Vencord-e52225304e47d92bf1b84f5a2c8e97ab57bd85a4.tar.bz2 Vencord-e52225304e47d92bf1b84f5a2c8e97ab57bd85a4.zip |
Add modal api
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r-- | src/components/Settings.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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<string>(IpcEvents.GET_SETTINGS_DIR), "Loading..."); |