mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
remove comment
This commit is contained in:
parent
84952943c6
commit
202cda9f99
2 changed files with 4 additions and 5 deletions
|
@ -24,8 +24,6 @@ const getDMChannelIcon = findByCodeLazy(".getChannelIconURL({");
|
|||
const GroupDMAvatars = findComponentByCodeLazy(".AvatarSizeSpecs[", "getAvatarURL");
|
||||
|
||||
|
||||
// FIXME saving is broken, so are indexes apparently?
|
||||
|
||||
const CloseIcon = () => {
|
||||
return <svg viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" width="18" height="18">
|
||||
<path d="M17.3 18.7a1 1 0 0 0 1.4-1.4L13.42 12l5.3-5.3a1 1 0 0 0-1.42-1.4L12 10.58l-5.3-5.3a1 1 0 0 0-1.4 1.42L10.58 12l-5.3 5.3a1 1 0 1 0 1.42 1.4L12 13.42l5.3 5.3Z" />
|
||||
|
@ -255,10 +253,11 @@ export function SettingArrayComponent({
|
|||
return;
|
||||
}
|
||||
|
||||
const newItems = [...items, inputElement.value];
|
||||
|
||||
setItems([...items, inputElement.value]);
|
||||
console.log(pluginSettings[id]);
|
||||
|
||||
pluginSettings[id] = items;
|
||||
console.log(pluginSettings[id]);
|
||||
inputElement.value = "";
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ export default definePlugin({
|
|||
contextMenus: {
|
||||
"channel-context": MakeContextCallback("Channel"),
|
||||
"thread-context": MakeContextCallback("Channel"),
|
||||
"gdm-context": MakeContextCallback("Channel"), // TODO make this work
|
||||
"gdm-context": MakeContextCallback("Channel"),
|
||||
"guild-context": MakeContextCallback("Guild"),
|
||||
"user-context": MakeContextCallback("User")
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue