Skip to content

Commit ab5d29f

Browse files
authored
Merge pull request #78 from DCODE-HQ/vedpawar2254-patch-2
Update repositoriesListing.jsx
2 parents 2063240 + 222c721 commit ab5d29f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/Repositories/repositoriesListing.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ const RepositoriesListing = () => {
219219
viewMode === 'grid' ? (
220220
<motion.div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5" variants={containerVariants}>
221221
{projects.map((project) => (
222-
<ProjectCardGrid key={project?._id} project={project} onClick={(e) => handleRepoClick(project?._id, e)} formatDate={formatDate}/>
222+
<ProjectCardGrid key={project?.id} project={project} onClick={(e) => handleRepoClick(project?.id, e)} formatDate={formatDate}/>
223223
))}
224224
</motion.div>
225225
) : (
226226
<motion.div className="space-y-4" variants={containerVariants}>
227227
{projects.map((project) => (
228-
<ProjectCardList key={project?._id} project={project} onClick={(e) => handleRepoClick(project?._id, e)} formatDate={formatDate}/>
228+
<ProjectCardList key={project?.id} project={project} onClick={(e) => handleRepoClick(project?.id, e)} formatDate={formatDate}/>
229229
))}
230230
</motion.div>
231231
)
@@ -332,4 +332,4 @@ const EmptyState = ({ onClear }) => (
332332
</motion.div>
333333
);
334334

335-
export default RepositoriesListing;
335+
export default RepositoriesListing;

0 commit comments

Comments
 (0)