aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-05 14:20:34 +0200
committerVendicated <vendicated@riseup.net>2022-10-05 14:30:21 +0200
commit7e526e4172412eba720ffd1fa34511046ef47e6b (patch)
tree05587f306688ff65e9d5cfa96ddb31bc5a238518 /src/components
parent98cfa090d4fcdf5ed934cf7435df9423fbe58932 (diff)
downloadVencord-7e526e4172412eba720ffd1fa34511046ef47e6b.tar.gz
Vencord-7e526e4172412eba720ffd1fa34511046ef47e6b.tar.bz2
Vencord-7e526e4172412eba720ffd1fa34511046ef47e6b.zip
Kill unsafe require
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Settings.tsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 007767e..4e0196f 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -111,13 +111,6 @@ export default ErrorBoundary.wrap(function Settings() {
>
Get notified about new Updates
</Switch>}
- {!IS_WEB && <Switch
- value={settings.unsafeRequire}
- onChange={(v: boolean) => settings.unsafeRequire = v}
- note="Enables VencordNative.require. Useful for testing, very bad for security. Leave this off unless you need it."
- >
- Enable Unsafe Require
- </Switch>}
<Forms.FormDivider />