diff options
author | Ven <vendicated@riseup.net> | 2022-10-06 00:42:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 00:42:58 +0200 |
commit | 74c3930e0a5ed264f330bc32c27116ead1063c5d (patch) | |
tree | a29ba43787c8cf8bbee648b5b478a8152086f965 /src/components/Settings.tsx | |
parent | e563521416052808bcec57057b921f0c0b6ca594 (diff) | |
download | Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2 Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip |
add eslint config (#53)
* eslint
* workflow
* lint main
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r-- | src/components/Settings.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 0678745..56c97cb 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -1,14 +1,14 @@ import { classes, humanFriendlyJoin, useAwaiter } from "../utils/misc"; -import Plugins from 'plugins'; +import Plugins from "plugins"; import { useSettings } from "../api/settings"; import IpcEvents from "../utils/IpcEvents"; import { Button, Switch, Forms, React, Margins, Toasts, Alerts, Parser } from "../webpack/common"; import ErrorBoundary from "./ErrorBoundary"; import { startPlugin } from "../plugins"; -import { stopPlugin } from '../plugins/index'; -import { Flex } from './Flex'; -import { ChangeList } from '../utils/ChangeList'; +import { stopPlugin } from "../plugins/index"; +import { Flex } from "./Flex"; +import { ChangeList } from "../utils/ChangeList"; function showErrorToast(message: string) { Toasts.show({ @@ -35,7 +35,7 @@ export default ErrorBoundary.wrap(function Settings() { <div>{changes.map((s, i) => ( <> {i > 0 && ", "} - {Parser.parse('`' + s + '`')} + {Parser.parse("`" + s + "`")} </> ))}</div> </> @@ -69,7 +69,7 @@ export default ErrorBoundary.wrap(function Settings() { </Forms.FormTitle> <Forms.FormText> - SettingsDir: <code style={{ userSelect: 'text', cursor: 'text' }}>{settingsDir}</code> + SettingsDir: <code style={{ userSelect: "text", cursor: "text" }}>{settingsDir}</code> </Forms.FormText> {!IS_WEB && <Flex className={classes(Margins.marginBottom20)}> |