diff --git a/web/packages/teleport/src/Login/LoginSuccess.tsx b/web/packages/teleport/src/Login/LoginSuccess.tsx index 6ac9c6906b4a1..0258ff9f8ab68 100644 --- a/web/packages/teleport/src/Login/LoginSuccess.tsx +++ b/web/packages/teleport/src/Login/LoginSuccess.tsx @@ -16,21 +16,12 @@ * along with this program. If not, see . */ -import React, { useEffect } from 'react'; +import React from 'react'; import { CardSuccessLogin } from 'design'; import { LogoHero } from 'teleport/components/LogoHero'; export function LoginSuccess() { - useEffect(() => { - const timeout = setTimeout(() => { - window.close(); - }, 5000); - - return () => { - clearTimeout(timeout); - }; - }, []); return ( <>