diff --git a/src/components/LoginWrapper/LoginWrapper.tsx b/src/components/LoginWrapper/LoginWrapper.tsx index 6e482011..f69d0623 100644 --- a/src/components/LoginWrapper/LoginWrapper.tsx +++ b/src/components/LoginWrapper/LoginWrapper.tsx @@ -174,12 +174,13 @@ const LoginWrapper: FC = ({ useEffect(() => { (async () => { - const gpuTier = await getGPUTier(); - - setGPUAvailable(!!gpuTier.gpu && gpuTier.tier >= 2); + if (backgroundAnimation) { + const gpuTier = await getGPUTier(); + setGPUAvailable(!!gpuTier.gpu && gpuTier.tier >= 2); + } return; })(); - }, []); + }, [backgroundAnimation]); return (