From a7bc042b57707bff53859dbb3a71593e49af57ba Mon Sep 17 00:00:00 2001 From: Ray Lin <137183702+ruijialin-avalabs@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:41:30 -0400 Subject: [PATCH] CP-8806: Don't create duplicate owl loader (#1369) --- packages/core-mobile/app/components/GlobalOwlLoader.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core-mobile/app/components/GlobalOwlLoader.tsx b/packages/core-mobile/app/components/GlobalOwlLoader.tsx index 56e46fbff8..d22370e53d 100644 --- a/packages/core-mobile/app/components/GlobalOwlLoader.tsx +++ b/packages/core-mobile/app/components/GlobalOwlLoader.tsx @@ -15,6 +15,7 @@ const showModal = (element: JSX.Element): void => { 'duplicate owl modal', 'there is already a modal shown, you should hide it first' ) + return } rootNode = new RootSiblingsManager(element) }