mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
why was that there lmao
This commit is contained in:
parent
719ea8135a
commit
916d827b1b
1 changed files with 8 additions and 10 deletions
|
@ -375,16 +375,14 @@ export default function SearchModal({ modalProps, onSubmit, input, searchType =
|
||||||
}
|
}
|
||||||
if (e.type !== "user")
|
if (e.type !== "user")
|
||||||
return convertItem(e.id);
|
return convertItem(e.id);
|
||||||
{
|
const user = UserStore.getUser(e.id);
|
||||||
const user = UserStore.getUser(e.id);
|
return {
|
||||||
return {
|
type: TextTypes.USER,
|
||||||
type: TextTypes.USER,
|
record: user,
|
||||||
record: user,
|
score: 0,
|
||||||
score: 0,
|
// @ts-ignore globalName is not in the types but exists
|
||||||
// @ts-ignore globalName is not in the types but exists
|
comparator: user.globalName,
|
||||||
comparator: user.globalName,
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const filterItems = (items: any[]) => {
|
const filterItems = (items: any[]) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue