chore(ui): Clean up warnings (#536)

This commit is contained in:
Marc Brooks
2025-05-30 08:01:32 -05:00
committed by GitHub
parent 718b343713
commit 8d77d75294
5 changed files with 28 additions and 26 deletions

View File

@@ -269,22 +269,17 @@ export default function SettingsRoute() {
);
}
export function SettingsItem({
title,
description,
children,
className,
loading,
badge,
}: {
title: string;
description: string | React.ReactNode;
children?: React.ReactNode;
className?: string;
name?: string;
loading?: boolean;
badge?: string;
}) {
interface SettingsItemProps {
readonly title: string;
readonly description: string | React.ReactNode;
readonly badge?: string;
readonly className?: string;
readonly loading?: boolean;
readonly children?: React.ReactNode;
}
export function SettingsItem(props: SettingsItemProps) {
const { title, description, badge, children, className, loading } = props;
return (
<label
className={cx(