diff --git a/client/src/components/inputs/SwitchSettings.tsx b/client/src/components/inputs/SwitchSettings.tsx index b6bca4cd2..6cf7a72e8 100644 --- a/client/src/components/inputs/SwitchSettings.tsx +++ b/client/src/components/inputs/SwitchSettings.tsx @@ -10,7 +10,6 @@ import { useMemo, useState } from "react"; import { useTheme } from "@mui/material/styles"; import { Tooltip } from "@/components/design-elements"; import { config } from "@/config/index"; -const ENV_VAR = import.meta.env.VITE_APP_DEPLOYMENT_MODE; const DEPLOYMENT_MODE = config.DEPLOYMENT_MODE; const IS_SAAS = DEPLOYMENT_MODE === "saas"; @@ -66,7 +65,6 @@ export const SettingsSwitch = () => { [perms] ); - const hasMaster = perms.includes("master"); return ( diff --git a/client/src/components/layouts/sidebar/index.tsx b/client/src/components/layouts/sidebar/index.tsx index 58e532916..a243ef9b2 100644 --- a/client/src/components/layouts/sidebar/index.tsx +++ b/client/src/components/layouts/sidebar/index.tsx @@ -5,8 +5,6 @@ import { useTranslation } from "react-i18next"; import { useNavigate, useLocation } from "react-router-dom"; import { useAppSelector, useAppDispatch } from "@/hooks/AppHooks"; -// CollapseButton removed; toggling now handled via Logo click -import Box from "@mui/material/Box"; import Stack from "@mui/material/Stack"; import List from "@mui/material/List"; import Divider from "@mui/material/Divider";