mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
fix name
This commit is contained in:
parent
cfd29692b9
commit
3d444c9a12
1 changed files with 2 additions and 2 deletions
|
@ -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<PluginOptionList>) {
|
||||
}: ISettingElementProps<PluginOptionArray>) {
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
const [items, setItems] = useState<string[]>([]);
|
||||
const [text, setText] = useState<string>("");
|
||||
|
|
Loading…
Reference in a new issue