diff --git a/src/components/PluginSettings/components/SettingArrayComponent.tsx b/src/components/PluginSettings/components/SettingArrayComponent.tsx index e1e21c3c1..ff2c1f6c6 100644 --- a/src/components/PluginSettings/components/SettingArrayComponent.tsx +++ b/src/components/PluginSettings/components/SettingArrayComponent.tsx @@ -253,8 +253,6 @@ export function SettingArrayComponent({ return; } - const newItems = [...items, inputElement.value]; - setItems([...items, inputElement.value]); pluginSettings[id] = items;