From 148e057ddde2bdbcd3be6ab1c9414809cb9d5a30 Mon Sep 17 00:00:00 2001 From: Elvy <88881326+EepyElvyra@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:28:54 +0100 Subject: [PATCH] remove unused var --- .../PluginSettings/components/SettingArrayComponent.tsx | 2 -- 1 file changed, 2 deletions(-) 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;