From 9f2cfffce44f15aec6459eec860ced9218bcc15e Mon Sep 17 00:00:00 2001 From: Alex Johansson Date: Mon, 27 Sep 2021 23:42:04 +0100 Subject: [PATCH] fix loading spinner flicker (#800) --- components/Shell.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/Shell.tsx b/components/Shell.tsx index ce5570a2ee..28dc4c71c2 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -24,7 +24,6 @@ import { trpc } from "@lib/trpc"; import { HeadSeo } from "@components/seo/head-seo"; import Avatar from "@components/ui/Avatar"; -import Loader from "./Loader"; import Logo from "./Logo"; function useMeQuery() { @@ -117,9 +116,6 @@ export default function Shell(props: { } const pageTitle = typeof props.heading === "string" ? props.heading : props.title; - if (query.status === "loading") { - return ; - } return ( <>