Skip to content

Commit

Permalink
use Button component
Browse files Browse the repository at this point in the history
  • Loading branch information
icedevera committed May 6, 2024
1 parent 09dfce0 commit f1914bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sections/contest/GithubFileSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const RepoList = ({repos, isLoading, selectRepo}: RepoListProps) => {
if (!repos || repos.length === 0) return <span>No public repos found</span>

return repos.map((repo) => (
<button
<Button
key={repo.id}
onClick={() =>
selectRepo({
Expand All @@ -95,7 +95,7 @@ const RepoList = ({repos, isLoading, selectRepo}: RepoListProps) => {
})
}>
{repo.fullName}
</button>
</Button>
))
}

Expand Down

0 comments on commit f1914bc

Please sign in to comment.