fix: missing key
This commit is contained in:
parent
cd2dce2404
commit
8210512eea
@ -155,13 +155,13 @@ export const RepositoryList = () => {
|
|||||||
{Boolean(repositoryDetails.length) ? (
|
{Boolean(repositoryDetails.length) ? (
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
{repositoryDetails.map((repo, index) => (
|
{repositoryDetails.map((repo, index) => (
|
||||||
<>
|
<div key={index}>
|
||||||
<ProjectRepoCard repository={repo} key={index} />
|
<ProjectRepoCard repository={repo} />
|
||||||
{/* Horizontal line */}
|
{/* Horizontal line */}
|
||||||
{index !== repositoryDetails.length - 1 && (
|
{index !== repositoryDetails.length - 1 && (
|
||||||
<div className="border-b border-border-separator/[0.06] w-full" />
|
<div className="border-b border-border-separator/[0.06] w-full" />
|
||||||
)}
|
)}
|
||||||
</>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user