From 39d6e1a5bbc0c716765abea3671b4e8cb5ddf4c2 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 29 Jan 2025 19:48:32 -0500 Subject: [PATCH] Fixes --- src/equicordplugins/betterBanReasons/index.tsx | 2 +- src/utils/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/betterBanReasons/index.tsx b/src/equicordplugins/betterBanReasons/index.tsx index 10a3c841..401235e1 100644 --- a/src/equicordplugins/betterBanReasons/index.tsx +++ b/src/equicordplugins/betterBanReasons/index.tsx @@ -59,7 +59,7 @@ const settings = definePluginSettings({ reasons: { description: "Your custom reasons", type: OptionType.COMPONENT, - default: [], + default: [""], component: ReasonsComponent, }, textInputDefault: { diff --git a/src/utils/types.ts b/src/utils/types.ts index d10e4610..72f567ac 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -204,7 +204,7 @@ export type SettingsChecks = { }; export type PluginSettingDef = - (PluginSettingCustomDef & Pick) | + (PluginSettingCommon & PluginSettingCustomDef & Pick) | (PluginSettingComponentDef & Omit) | (( | PluginSettingStringDef | PluginSettingNumberDef