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