We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348a602 commit f04de50Copy full SHA for f04de50
src/pages/Home.tsx
@@ -160,7 +160,7 @@ export function Home({ hasSearched, setHasSearched }: HomeProps) {
160
).sort();
161
useEffect(() => {
162
if (!hasSearched) {
163
- setTaskDescription(""); // Reset taskDescription to empty
+ setTaskDescription("");
164
}
165
}, [hasSearched]);
166
@@ -175,7 +175,7 @@ export function Home({ hasSearched, setHasSearched }: HomeProps) {
175
} else {
176
setDescriptionSuggestions([]);
177
178
- }, 500); // Wait 500ms before making the API request
+ }, 500);
179
180
fetchSuggestions();
181
0 commit comments