From 3d444c9a1208f8ef3a7d0b3518f027a228de5f3b Mon Sep 17 00:00:00 2001 From: Elvyra <88881326+EepyElvyra@users.noreply.github.com> Date: Sun, 5 Jan 2025 22:42:19 +0100 Subject: [PATCH] fix name --- .../PluginSettings/components/SettingArrayComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PluginSettings/components/SettingArrayComponent.tsx b/src/components/PluginSettings/components/SettingArrayComponent.tsx index 47c0166d2..7cd188223 100644 --- a/src/components/PluginSettings/components/SettingArrayComponent.tsx +++ b/src/components/PluginSettings/components/SettingArrayComponent.tsx @@ -10,7 +10,7 @@ import { debounce } from "@shared/debounce"; import { Margins } from "@utils/margins"; import { closeModal, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize, openModal } from "@utils/modal"; import { wordsFromCamel, wordsToTitle } from "@utils/text"; -import { OptionType, PluginOptionList } from "@utils/types"; +import { OptionType, PluginOptionArray } from "@utils/types"; import { findByCodeLazy, findByPropsLazy, findComponentByCodeLazy } from "@webpack"; import { Avatar, Button, ChannelStore, Flex, Forms, GuildStore, Heading, IconUtils, React, Text, TextInput, useCallback, useEffect, useRef, useState } from "@webpack/common"; import { Channel, Guild } from "discord-types/general"; @@ -55,7 +55,7 @@ export function SettingArrayComponent({ onChange, onError, id -}: ISettingElementProps) { +}: ISettingElementProps) { const [error, setError] = useState(null); const [items, setItems] = useState([]); const [text, setText] = useState("");