diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/tabs-hook.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/toaster.tsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx index 3498b1aa..08206c14 100644 --- a/frontend/src/tabs-hook.tsx +++ b/frontend/src/tabs-hook.tsx @@ -35,7 +35,7 @@ class TabsHook extends Logger { const tree = (document.getElementById('root') as any)._reactRootContainer._internalRoot.current; let qAMRoot: any; const findQAMRoot = (currentNode: any, iters: number): any => { - if (iters >= 55) { + if (iters >= 65) { // currently 45 return null; } diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx index b636d7b3..7ef4a447 100644 --- a/frontend/src/toaster.tsx +++ b/frontend/src/toaster.tsx @@ -45,6 +45,7 @@ class Toaster extends Logger { return null; } if ( + currentNode?.memoizedProps?.className?.startsWith?.('gamepadtoasts_GamepadToastPlaceholder') || currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPlaceholder') || currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPopup') ) { |
