From d067fe6361b6bebd2d1ae4adff2cf3e49cbd99fe Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 27 Jun 2024 00:09:00 -0400 Subject: add some errorboundaries --- frontend/src/tabs-hook.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/tabs-hook.tsx') diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx index f42a4aea..4ddea44a 100644 --- a/frontend/src/tabs-hook.tsx +++ b/frontend/src/tabs-hook.tsx @@ -1,5 +1,5 @@ // TabsHook for versions after the Desktop merge -import { Patch, QuickAccessTab, afterPatch, findInReactTree, getReactRoot, sleep } from '@decky/ui'; +import { ErrorBoundary, Patch, QuickAccessTab, afterPatch, findInReactTree, getReactRoot, sleep } from '@decky/ui'; import { QuickAccessVisibleStateProvider } from './components/QuickAccessVisibleState'; import Logger from './logger'; @@ -147,7 +147,7 @@ class TabsHook extends Logger { decky: true, initialVisibility: visible, }; - tab.panel = {content}; + tab.panel = {content}; existingTabs.push(tab); } } -- cgit v1.2.3