github icon in search repo
This commit is contained in:
parent
95285d30dd
commit
6c38094093
@ -9,6 +9,7 @@ import SearchBar from '../../SearchBar';
|
|||||||
import ProjectRepoCard from './ProjectRepoCard';
|
import ProjectRepoCard from './ProjectRepoCard';
|
||||||
import { GitOrgDetails, GitRepositoryDetails } from '../../../types';
|
import { GitOrgDetails, GitRepositoryDetails } from '../../../types';
|
||||||
import AsyncSelect from '../../shared/AsyncSelect';
|
import AsyncSelect from '../../shared/AsyncSelect';
|
||||||
|
import { GithubIcon } from 'components/shared/CustomIcon';
|
||||||
|
|
||||||
const DEFAULT_SEARCHED_REPO = '';
|
const DEFAULT_SEARCHED_REPO = '';
|
||||||
const REPOS_PER_PAGE = 5;
|
const REPOS_PER_PAGE = 5;
|
||||||
@ -116,7 +117,9 @@ const RepositoryList = ({ octokit }: RepositoryListProps) => {
|
|||||||
>
|
>
|
||||||
{accounts.map((account) => (
|
{accounts.map((account) => (
|
||||||
<Option key={account.id} value={account.login}>
|
<Option key={account.id} value={account.login}>
|
||||||
^ {account.login}
|
<div className="flex items-center gap-2 justify-start">
|
||||||
|
<GithubIcon /> {account.login}
|
||||||
|
</div>
|
||||||
</Option>
|
</Option>
|
||||||
))}
|
))}
|
||||||
</AsyncSelect>
|
</AsyncSelect>
|
||||||
|
Loading…
Reference in New Issue
Block a user