mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-26 07:26:58 +00:00
lint changes done
This commit is contained in:
parent
13fafb624e
commit
f6e8fb012d
@ -334,8 +334,9 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
|
||||
|
||||
const handleSelection = (selectedIndex: number) => {
|
||||
const selecteditem = suggestionsnhistory[selectedIndex];
|
||||
if (!selecteditem) return resetSearchComplete();
|
||||
else {
|
||||
if (!selecteditem) {
|
||||
return resetSearchComplete();
|
||||
} else {
|
||||
handlepromptset(selecteditem);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user