From 5ebbfbcdc6e767238529a3473581589a6a592a1e Mon Sep 17 00:00:00 2001 From: Russell Vinegar Date: Thu, 12 Sep 2024 16:17:43 -0700 Subject: [PATCH] reduce timeout --- .../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);