diff --git a/src/components/WikilinkChatInput.tsx b/src/components/WikilinkChatInput.tsx index 3c03a839..183c3509 100644 --- a/src/components/WikilinkChatInput.tsx +++ b/src/components/WikilinkChatInput.tsx @@ -74,7 +74,7 @@ export function WikilinkChatInput({ const internalRef = useRef(null) const inputRefToUse = externalRef ?? internalRef const menuRef = useRef(null) - const debounceTimer = useRef>() + const debounceTimer = useRef>(undefined) const typeEntryMap = useMemo(() => buildTypeEntryMap(entries), [entries])