aboutsummaryrefslogtreecommitdiff
path: root/src/components/VencordSettings/ThemesTab.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/VencordSettings/ThemesTab.tsx')
-rw-r--r--src/components/VencordSettings/ThemesTab.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/VencordSettings/ThemesTab.tsx b/src/components/VencordSettings/ThemesTab.tsx
index 69fcc29..b59590c 100644
--- a/src/components/VencordSettings/ThemesTab.tsx
+++ b/src/components/VencordSettings/ThemesTab.tsx
@@ -75,7 +75,7 @@ function Validators({ themeLinks }: { themeLinks: string[]; }) {
export default ErrorBoundary.wrap(function () {
const settings = useSettings();
- const ref = React.useRef<HTMLTextAreaElement>();
+ const ref = React.useRef<HTMLTextAreaElement>(null);
function onBlur() {
settings.themeLinks = [...new Set(