From f9ef68319173e72658911bf80193508b67285cdd Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:51:33 -0300 Subject: [PATCH] fix what I broke --- src/components/VencordSettings/shared.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VencordSettings/shared.tsx b/src/components/VencordSettings/shared.tsx index 270fef29a..ddf9d90a3 100644 --- a/src/components/VencordSettings/shared.tsx +++ b/src/components/VencordSettings/shared.tsx @@ -43,7 +43,7 @@ export function SettingsTab({ title, children }: React.PropsWithChildren<{ title export const handleSettingsTabError = onlyOnce(handleComponentFailed); -export function wrapTab(component: React.ComponentType, tab: string) { +export function wrapTab

(component: React.ComponentType

, tab: string) { return ErrorBoundary.wrap(component, { message: `Failed to render the ${tab} tab. If this issue persists, try using the installer to reinstall!`, onError: handleSettingsTabError,