From 220a1f0aa1b0b6c7eb4c93feb4f1bb1015addcfe Mon Sep 17 00:00:00 2001 From: Mike Manfredi Date: Wed, 25 Sep 2024 19:37:51 +0000 Subject: [PATCH 1/2] patching line of code I didn't intend to commit in previous PR --- services/user/Branding/ui/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/user/Branding/ui/src/App.tsx b/services/user/Branding/ui/src/App.tsx index 9135d3a6c..e5f43c462 100644 --- a/services/user/Branding/ui/src/App.tsx +++ b/services/user/Branding/ui/src/App.tsx @@ -20,7 +20,7 @@ export const App = () => { const init = async () => { await supervisor.onLoaded(); supervisor.preLoadPlugins([{ service: "branding" }]); - setTimeout(getNetworkName, 1500); + await getNetworkName(); }; useEffect(() => { From 22332bc249aa5e5b6ad2caa97ebe0063175b7813 Mon Sep 17 00:00:00 2001 From: Mike Manfredi Date: Thu, 26 Sep 2024 22:10:01 +0000 Subject: [PATCH 2/2] removed preload, which fails to await if a method is called before the requested preload has completed --- services/user/Branding/ui/src/App.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/services/user/Branding/ui/src/App.tsx b/services/user/Branding/ui/src/App.tsx index e5f43c462..56ec90b21 100644 --- a/services/user/Branding/ui/src/App.tsx +++ b/services/user/Branding/ui/src/App.tsx @@ -19,7 +19,6 @@ export const App = () => { const init = async () => { await supervisor.onLoaded(); - supervisor.preLoadPlugins([{ service: "branding" }]); await getNetworkName(); };