Skip to content

Commit

Permalink
Update frontend/src/components/features/github/github-repo-selector.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: sp.wack <[email protected]>
  • Loading branch information
neubig and amanape authored Dec 26, 2024
1 parent b2b7537 commit 3d7a83a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function GitHubRepositorySelector({
return () => clearTimeout(debounceTimeout);
}, [searchQuery]);

const finalRepositories = repositories.map((i) => i);
const finalRepositories = repositories;
searchedRepos.forEach((repo) => {
if (!repositories.find((r) => r.id === repo.id)) {
finalRepositories.unshift({
Expand Down

0 comments on commit 3d7a83a

Please sign in to comment.