From c2443ee2c5427504fb30b77a86dfd700f2b126f4 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 26 Jul 2024 14:53:41 -0400 Subject: fix(toaster): remove critical toast logic as ProcessNotification handles it for us --- frontend/src/tabs-hook.tsx | 2 -- 1 file changed, 2 deletions(-) (limited to 'frontend/src/tabs-hook.tsx') diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx index 34b5f592..41bfad1a 100644 --- a/frontend/src/tabs-hook.tsx +++ b/frontend/src/tabs-hook.tsx @@ -49,7 +49,6 @@ class TabsHook extends Logger { const patchHandler = createReactTreePatcher( [(tree) => findInReactTree(tree, (node) => node?.props?.onFocusNavDeactivated)], (args, ret) => { - this.log('qam render', args, ret); const tabs = findInReactTree(ret, (x) => x?.props?.tabs); this.render(tabs.props.tabs, args[0].visible); return ret; @@ -63,7 +62,6 @@ class TabsHook extends Logger { const root = getReactRoot(document.getElementById('root') as any); const qamNode = root && findInReactTree(root, (n: any) => n.elementType == qamRenderer); // need elementType, because type is actually mobx wrapper if (qamNode) { - this.debug('qamNode', qamNode); // Only affects this fiber node so we don't need to unpatch here qamNode.type = qamNode.elementType.type; if (qamNode?.alternate) { -- cgit v1.2.3