diff --git a/app/components/Main.tsx b/app/components/Main.tsx
index 490e30a2c..e24f719b5 100644
--- a/app/components/Main.tsx
+++ b/app/components/Main.tsx
@@ -19,26 +19,23 @@ export const Main = ({
const showLeaderboard = !user?.patronTier;
return (
- <>
- {showLeaderboard ?
: null}
-
- {children}
-
- >
+
+ {children}
+
);
};
diff --git a/app/components/layout/index.tsx b/app/components/layout/index.tsx
index b898f2d35..aae6d28e9 100644
--- a/app/components/layout/index.tsx
+++ b/app/components/layout/index.tsx
@@ -50,6 +50,9 @@ export const Layout = React.memo(function Layout({
const isFrontPage = location.pathname === "/";
+ const showLeaderboard =
+ !user?.patronTier && !location.pathname.includes("plans");
+
return (
@@ -107,6 +110,7 @@ export const Layout = React.memo(function Layout({
{!isFrontPage ? : null}
+ {showLeaderboard ? : null}
{children}