Skip to content

Commit

Permalink
fix loading spinner flicker (calcom#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT authored Sep 27, 2021
1 parent dc7b084 commit 9f2cfff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/Shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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 (
<>
Expand Down

0 comments on commit 9f2cfff

Please sign in to comment.