lint changes done

This commit is contained in:
Sampath 2023-12-11 23:54:28 +05:30
parent 13fafb624e
commit f6e8fb012d
1 changed files with 3 additions and 2 deletions

View File

@ -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);
}
};