why was that there lmao

This commit is contained in:
Elvyra 2025-01-28 16:07:03 +01:00
parent 719ea8135a
commit 916d827b1b

View file

@ -375,7 +375,6 @@ 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,
@ -385,7 +384,6 @@ export default function SearchModal({ modalProps, onSubmit, input, searchType =
comparator: user.globalName, comparator: user.globalName,
}; };
} }
}
const filterItems = (items: any[]) => { const filterItems = (items: any[]) => {
return items.filter( return items.filter(