From 0a07cdc1bd5bd75a8232fdc83eb4bc00ddad6e1d Mon Sep 17 00:00:00 2001 From: Russell Vinegar <38586679+rustyjux@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:03:08 -0700 Subject: [PATCH] reduce timeout (#1177) --- .../components/no-gateway-redirect/no-gateway-redirect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextapp/components/no-gateway-redirect/no-gateway-redirect.tsx b/src/nextapp/components/no-gateway-redirect/no-gateway-redirect.tsx index 0407a76c7..c448d5ed1 100644 --- a/src/nextapp/components/no-gateway-redirect/no-gateway-redirect.tsx +++ b/src/nextapp/components/no-gateway-redirect/no-gateway-redirect.tsx @@ -10,7 +10,7 @@ const NoGatewayRedirect = () => { React.useEffect(() => { const checkNamespaceAndRedirect = async () => { // Wait for a short period to ensure user data is loaded - await new Promise(resolve => setTimeout(resolve, 2000)); + await new Promise(resolve => setTimeout(resolve, 500)); setIsChecking(false);