diff --git a/web/src/components/menu/AccountSettings.tsx b/web/src/components/menu/AccountSettings.tsx index afa63ae4c..72d05e81f 100644 --- a/web/src/components/menu/AccountSettings.tsx +++ b/web/src/components/menu/AccountSettings.tsx @@ -6,12 +6,15 @@ import { import { isDesktop } from "react-device-detect"; import { VscAccount } from "react-icons/vsc"; -export default function AccountSettings() { +type AccountSettingsProps = { + className?: string; +}; +export default function AccountSettings({ className }: AccountSettingsProps) { return (
diff --git a/web/src/components/menu/GeneralSettings.tsx b/web/src/components/menu/GeneralSettings.tsx index aed5f2173..744fc4246 100644 --- a/web/src/components/menu/GeneralSettings.tsx +++ b/web/src/components/menu/GeneralSettings.tsx @@ -66,10 +66,10 @@ import { DialogTrigger, } from "../ui/dialog"; -type GeneralSettings = { +type GeneralSettingsProps = { className?: string; }; -export default function GeneralSettings({ className }: GeneralSettings) { +export default function GeneralSettings({ className }: GeneralSettingsProps) { const { theme, colorScheme, setTheme, setColorScheme } = useTheme(); const [restartDialogOpen, setRestartDialogOpen] = useState(false); const [restartingSheetOpen, setRestartingSheetOpen] = useState(false); diff --git a/web/src/components/navigation/Bottombar.tsx b/web/src/components/navigation/Bottombar.tsx index 38086892e..6df529ccf 100644 --- a/web/src/components/navigation/Bottombar.tsx +++ b/web/src/components/navigation/Bottombar.tsx @@ -20,16 +20,19 @@ function Bottombar() { return (
{navItems.map((item) => ( - + ))} - - - + + +
); } -function StatusAlertNav() { +type StatusAlertNavProps = { + className?: string; +}; +function StatusAlertNav({ className }: StatusAlertNavProps) { const { data: initialStats } = useSWR("stats", { revalidateOnFocus: false, }); @@ -64,7 +67,9 @@ function StatusAlertNav() { - +
{Object.entries(messages).map(([key, messageArray]) => (