From cde8cb57da3bb1a02b9f3f0102fc9bcc562ad306 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Thu, 17 Sep 2020 12:31:13 -0700 Subject: [PATCH] allow app skeleton to display while config is loading --- awx/ui_next/src/components/AppContainer/AppContainer.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/awx/ui_next/src/components/AppContainer/AppContainer.jsx b/awx/ui_next/src/components/AppContainer/AppContainer.jsx index 88d92d4e4e..1d968906d8 100644 --- a/awx/ui_next/src/components/AppContainer/AppContainer.jsx +++ b/awx/ui_next/src/components/AppContainer/AppContainer.jsx @@ -76,10 +76,6 @@ function AppContainer({ i18n, navRouteConfig = [], children }) { loadConfig(); }, [config, pathname, handleLogout]); - if (!isReady) { - return null; - } - const header = ( - {children} + {isReady && {children}}