Fix Global Flicker (#2604)

This commit is contained in:
sean-brydon 2022-04-25 23:20:16 +01:00 committed by GitHub
parent afe957674c
commit 071077f2dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,7 +427,7 @@ export default function Shell(props: LayoutProps) {
const isLoading =
i18n.status === "loading" || query.status === "loading" || isRedirectingToOnboarding || loading;
if (isLoading && !props.customLoader) {
if (isLoading) {
return (
<div className="absolute z-50 flex h-screen w-full items-center bg-gray-50">
<Loader />