fix loading spinner flicker (#800)

pull/772/head^2
Alex Johansson 2021-09-27 23:42:04 +01:00 committed by GitHub
parent dc7b084bdf
commit 9f2cfffce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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 <Loader />;
}
return (
<>