Skip to content

Commit f04de50

Browse files
committed
removed comments
1 parent 348a602 commit f04de50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/Home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export function Home({ hasSearched, setHasSearched }: HomeProps) {
160160
).sort();
161161
useEffect(() => {
162162
if (!hasSearched) {
163-
setTaskDescription(""); // Reset taskDescription to empty
163+
setTaskDescription("");
164164
}
165165
}, [hasSearched]);
166166
useEffect(() => {
@@ -175,7 +175,7 @@ export function Home({ hasSearched, setHasSearched }: HomeProps) {
175175
} else {
176176
setDescriptionSuggestions([]);
177177
}
178-
}, 500); // Wait 500ms before making the API request
178+
}, 500);
179179

180180
fetchSuggestions();
181181

0 commit comments

Comments
 (0)