From f804d37d7cc06bba0abf1ae3112762fa86db2c0a Mon Sep 17 00:00:00 2001 From: donniean Date: Wed, 18 Sep 2024 15:27:53 +0800 Subject: [PATCH] fix: set initial value of isRemoteExtensionLoading to true Signed-off-by: donniean --- packages/core/src/Pages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/Pages.tsx b/packages/core/src/Pages.tsx index 19c263f72ce..84e758c9ebb 100644 --- a/packages/core/src/Pages.tsx +++ b/packages/core/src/Pages.tsx @@ -27,7 +27,7 @@ const baseRoutes: RouteObject[] = [ const homePage = globals.config.homePage || '/dashboard'; function usePages() { - const [isRemoteExtensionLoading, setIsRemoteExtensionLoading] = useState(false); + const [isRemoteExtensionLoading, setIsRemoteExtensionLoading] = useState(true); useEffect(() => { setIsRemoteExtensionLoading(true);