Fix bad reference

This commit is contained in:
Eric Bailey
2026-04-07 16:14:02 -05:00
parent 2d411d71fe
commit 2069a57f4b
@@ -47,7 +47,7 @@ export function useAutocomplete({
async queryFn() {
if (type === 'profile') {
// TODO return recents
if (!query) return []
if (!q) return []
// Going from "foo" to "foo." should not clear matches.
q = q.toLowerCase().trim().replace(/\.$/, '')