mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
Zero error milestone.
This commit is contained in:
@@ -187,8 +187,9 @@ export function useAutoComplete(
|
||||
if (type === "channel" && searchClues?.channels) {
|
||||
const channels = client.servers
|
||||
.get(searchClues.channels.server)
|
||||
?.channels.map((x) => client.channels.get(x))
|
||||
.filter((x) => typeof x !== "undefined") as Channel[];
|
||||
?.channels.filter(
|
||||
(x) => typeof x !== "undefined",
|
||||
) as Channel[];
|
||||
|
||||
const matches = (
|
||||
search.length > 0
|
||||
|
||||
Reference in New Issue
Block a user