Initial code suggestions should always show primary state items

This commit is contained in:
Sherfin Shamsudeen 2025-01-20 15:16:38 +05:30
parent d3102e6c07
commit 199c4ec947

View file

@ -163,8 +163,6 @@ export const generateHints = (hints, totalReferences = 1, input, searchText) =>
};
function filterHintsByDepth(input, hints) {
if (input === '') return hints;
const inputParts = input.split('.');
const inputDepth = inputParts.length + 1;