mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 01:46:23 +00:00
change a bit more
This commit is contained in:
parent
01b9be63b9
commit
3db9a0039c
1 changed files with 21 additions and 22 deletions
|
@ -437,13 +437,12 @@ export function SettingArrayComponent({
|
|||
>
|
||||
<TextInput
|
||||
type="text"
|
||||
placeholder="Enter text or ID"
|
||||
placeholder="Enter ID or search for text"
|
||||
id={cl("input")}
|
||||
onChange={v => setText(v)}
|
||||
value={text}
|
||||
/>
|
||||
{text === "" ? null :
|
||||
!isNaN(Number(text)) ?
|
||||
{!isNaN(Number(text)) || text === "" ?
|
||||
<Button
|
||||
size={Button.Sizes.MIN}
|
||||
id={cl("add-button")}
|
||||
|
|
Loading…
Reference in a new issue