Lint all files

This commit is contained in:
jeffvli 2023-07-01 19:10:05 -07:00
parent 22af76b4d6
commit 30e52ebb54
334 changed files with 76519 additions and 75932 deletions

View file

@ -1,28 +1,28 @@
import { SettingsOptions } from '/@/renderer/features/settings/components/settings-option';
export type SettingOption = {
control: JSX.Element;
description: string | JSX.Element;
isHidden?: boolean;
note?: string;
title: string;
control: JSX.Element;
description: string | JSX.Element;
isHidden?: boolean;
note?: string;
title: string;
};
interface SettingsSectionProps {
options: SettingOption[];
options: SettingOption[];
}
export const SettingsSection = ({ options }: SettingsSectionProps) => {
return (
<>
{options
.filter((o) => !o.isHidden)
.map((option) => (
<SettingsOptions
key={`general-${option.title}`}
{...option}
/>
))}
</>
);
return (
<>
{options
.filter((o) => !o.isHidden)
.map((option) => (
<SettingsOptions
key={`general-${option.title}`}
{...option}
/>
))}
</>
);
};