From 81979662470ce817f573969c606db6370179bba6 Mon Sep 17 00:00:00 2001 From: Elvyra <88881326+EepyElvyra@users.noreply.github.com> Date: Fri, 3 Jan 2025 16:19:14 +0100 Subject: [PATCH] lint --- .../PluginSettings/components/SettingListComponent.tsx | 2 +- src/plugins/_api/settingArrays.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PluginSettings/components/SettingListComponent.tsx b/src/components/PluginSettings/components/SettingListComponent.tsx index 4abdc1f37..4b7c289c7 100644 --- a/src/components/PluginSettings/components/SettingListComponent.tsx +++ b/src/components/PluginSettings/components/SettingListComponent.tsx @@ -87,7 +87,7 @@ export function SettingListComponent({ // Handle the submit action for the specific item // This could involve updating the state, making an API call, etc. // Clear the input field after submission - const inputElement = document.getElementById(`vc-plugin-modal-input-${option.type === OptionType.CHANNELS ? "channel" : option.type === OptionType.GUILDS ? "guild" : option.type === OptionType.USERS ? "user" : "string"}`); + const inputElement = document.getElementById(`vc-plugin-modal-input-${option.type === OptionType.CHANNELS ? "channel" : option.type === OptionType.GUILDS ? "guild" : option.type === OptionType.USERS ? "user" : "string"}`) as HTMLInputElement; if (!inputElement || inputElement.value === "") { return; } diff --git a/src/plugins/_api/settingArrays.tsx b/src/plugins/_api/settingArrays.tsx index 2720cf82c..0c98022dd 100644 --- a/src/plugins/_api/settingArrays.tsx +++ b/src/plugins/_api/settingArrays.tsx @@ -57,6 +57,7 @@ function renderRegisteredPlugins(name: "Guild" | "User" | "Channel", value: any) {plugins[plugin].map(setting => (