fix loading spinner flicker (#800)
This commit is contained in:
parent
dc7b084bdf
commit
9f2cfffce4
1 changed files with 0 additions and 4 deletions
|
@ -24,7 +24,6 @@ import { trpc } from "@lib/trpc";
|
||||||
import { HeadSeo } from "@components/seo/head-seo";
|
import { HeadSeo } from "@components/seo/head-seo";
|
||||||
import Avatar from "@components/ui/Avatar";
|
import Avatar from "@components/ui/Avatar";
|
||||||
|
|
||||||
import Loader from "./Loader";
|
|
||||||
import Logo from "./Logo";
|
import Logo from "./Logo";
|
||||||
|
|
||||||
function useMeQuery() {
|
function useMeQuery() {
|
||||||
|
@ -117,9 +116,6 @@ export default function Shell(props: {
|
||||||
}
|
}
|
||||||
|
|
||||||
const pageTitle = typeof props.heading === "string" ? props.heading : props.title;
|
const pageTitle = typeof props.heading === "string" ? props.heading : props.title;
|
||||||
if (query.status === "loading") {
|
|
||||||
return <Loader />;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in a new issue