diff --git a/src/renderer/components/settings/Settings.tsx b/src/renderer/components/settings/Settings.tsx index 95dd647..792f447 100644 --- a/src/renderer/components/settings/Settings.tsx +++ b/src/renderer/components/settings/Settings.tsx @@ -6,6 +6,7 @@ import "./settings.css"; +import { ErrorBoundary } from "@vencord/types/components"; import { Forms, Switch, Text } from "@vencord/types/webpack/common"; import { ComponentType } from "react"; import { Settings, useSettings } from "renderer/settings"; @@ -155,14 +156,20 @@ function SettingsSections() { return <>{sections}; } -export default function SettingsUi() { - return ( - - - Vesktop Settings - +export default ErrorBoundary.wrap( + function SettingsUI() { + return ( + + + Vesktop Settings + - - - ); -} + + + ); + }, + { + message: + "Failed to render the Vesktop Settings tab. If this issue persists, try to right click the Vesktop tray icon, then click 'Repair Vencord'. And make sure your Vesktop is up to date." + } +);