Skip to content

Commit

Permalink
adjust timeout for redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux authored Sep 13, 2024
1 parent 0a07cdc commit fc3499e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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, 500));
await new Promise(resolve => setTimeout(resolve, 1000));

setIsChecking(false);

Expand Down Expand Up @@ -42,4 +42,4 @@ const NoGatewayRedirect = () => {
return null;
};

export default NoGatewayRedirect;
export default NoGatewayRedirect;

0 comments on commit fc3499e

Please sign in to comment.