Fix Global Flicker (#2604)
parent
afe957674c
commit
071077f2dc
|
@ -427,7 +427,7 @@ export default function Shell(props: LayoutProps) {
|
||||||
const isLoading =
|
const isLoading =
|
||||||
i18n.status === "loading" || query.status === "loading" || isRedirectingToOnboarding || loading;
|
i18n.status === "loading" || query.status === "loading" || isRedirectingToOnboarding || loading;
|
||||||
|
|
||||||
if (isLoading && !props.customLoader) {
|
if (isLoading) {
|
||||||
return (
|
return (
|
||||||
<div className="absolute z-50 flex h-screen w-full items-center bg-gray-50">
|
<div className="absolute z-50 flex h-screen w-full items-center bg-gray-50">
|
||||||
<Loader />
|
<Loader />
|
||||||
|
|
Loading…
Reference in New Issue