mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 01:41:31 +00:00
lint changes done
This commit is contained in:
@@ -334,8 +334,9 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
|
|||||||
|
|
||||||
const handleSelection = (selectedIndex: number) => {
|
const handleSelection = (selectedIndex: number) => {
|
||||||
const selecteditem = suggestionsnhistory[selectedIndex];
|
const selecteditem = suggestionsnhistory[selectedIndex];
|
||||||
if (!selecteditem) return resetSearchComplete();
|
if (!selecteditem) {
|
||||||
else {
|
return resetSearchComplete();
|
||||||
|
} else {
|
||||||
handlepromptset(selecteditem);
|
handlepromptset(selecteditem);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user