Skip to content

Commit 4fa1859

Browse files
filiptronicekroboquat
authored andcommitted
Remove console statements introduced in #7715
1 parent 7a20cfa commit 4fa1859

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/dashboard/src/components/RepositoryFinder.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,9 @@ export async function refreshSearchData(query: string, user: User | undefined):
170170

171171
// Fetch all possible search results and cache them into local storage
172172
async function actuallyRefreshSearchData(query: string, user: User | undefined): Promise<boolean> {
173-
console.log("refreshing search data");
174173
const oldData = loadSearchData();
175174
const newData = await getGitpodService().server.getSuggestedContextURLs();
176175
if (JSON.stringify(oldData) !== JSON.stringify(newData)) {
177-
console.log("new data:", newData);
178176
saveSearchData(newData);
179177
return true;
180178
}
@@ -190,6 +188,5 @@ async function findResults(query: string, onResults: (results: string[]) => void
190188
searchData.push(query);
191189
}
192190
} catch {}
193-
// console.log('searching', query, 'in', searchData);
194191
onResults(searchData.filter((result) => result.toLowerCase().includes(query.toLowerCase())));
195192
}

0 commit comments

Comments
 (0)