From 47790d5bbf97c52fc74fc8555306dcc3876a3755 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 15 Mar 2026 16:22:17 +0200 Subject: [PATCH] Tweak styles --- app/components/Main.tsx | 11 ----------- .../map-planner/components/Planner.module.css | 1 - app/styles/common.css | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/components/Main.tsx b/app/components/Main.tsx index 3c2a595f2..e90048964 100644 --- a/app/components/Main.tsx +++ b/app/components/Main.tsx @@ -1,7 +1,5 @@ import clsx from "clsx"; import type * as React from "react"; -import { isRouteErrorResponse, useRouteError } from "react-router"; -import { useHasRole } from "~/modules/permissions/hooks"; import styles from "./Main.module.css"; export const Main = ({ @@ -19,20 +17,12 @@ export const Main = ({ bigger?: boolean; style?: React.CSSProperties; }) => { - const error = useRouteError(); - const isMinorSupporter = useHasRole("MINOR_SUPPORT"); - const showLeaderboard = - import.meta.env.VITE_FUSE_ENABLED && - !isMinorSupporter && - !isRouteErrorResponse(error); - return (